Changeset 24f4671 for configure


Ignore:
Timestamp:
Dec 13, 2016, 10:53:21 AM (6 years ago)
Author:
Thierry Delisle <tdelisle@…>
Branches:
aaron-thesis, arm-eh, cleanup-dtors, deferred_resn, demangler, enum, forall-pointer-decay, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, new-env, no_list, persistent-indexer, pthread-emulation, qualifiedEnum, resolv-new, with_gc
Children:
3d50aaf
Parents:
2ee5426
Message:

Added defines to driver to enable debug/release modes (not implemented yet)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • configure

    r2ee5426 r24f4671  
    658658CFA_INCDIR
    659659CFA_PREFIX
     660BUILD_NO_LIB_FALSE
     661BUILD_NO_LIB_TRUE
    660662BUILD_DEBUG_FALSE
    661663BUILD_DEBUG_TRUE
     
    31463148                                ;;
    31473149                        no)
    3148                                 as_fn_error $? "Must build target debug or release" "$LINENO" 5
    3149                                 exit 1;
     3150                                build_release="no"
     3151                                build_debug="no"
    31503152                                ;;
    31513153                        *)
     
    31873189  BUILD_DEBUG_TRUE='#'
    31883190  BUILD_DEBUG_FALSE=
     3191fi
     3192
     3193 if test "x$build_release$build_debug" = "xnono"; then
     3194  BUILD_NO_LIB_TRUE=
     3195  BUILD_NO_LIB_FALSE='#'
     3196else
     3197  BUILD_NO_LIB_TRUE='#'
     3198  BUILD_NO_LIB_FALSE=
    31893199fi
    31903200
     
    63046314if test -z "${BUILD_DEBUG_TRUE}" && test -z "${BUILD_DEBUG_FALSE}"; then
    63056315  as_fn_error $? "conditional \"BUILD_DEBUG\" was never defined.
     6316Usually this means the macro was only invoked conditionally." "$LINENO" 5
     6317fi
     6318if test -z "${BUILD_NO_LIB_TRUE}" && test -z "${BUILD_NO_LIB_FALSE}"; then
     6319  as_fn_error $? "conditional \"BUILD_NO_LIB\" was never defined.
    63066320Usually this means the macro was only invoked conditionally." "$LINENO" 5
    63076321fi
     
    76727686fi
    76737687else
     7688  if test -z "$BUILD_DEBUG_TRUE"; then :
    76747689  { $as_echo "$as_me:${as_lineno-$LINENO}: Building libcfa for target: debug" >&5
    76757690$as_echo "$as_me: Building libcfa for target: debug" >&6;}
     7691else
     7692  { $as_echo "$as_me:${as_lineno-$LINENO}: Running cfa without libcfa" >&5
     7693$as_echo "$as_me: Running cfa without libcfa" >&6;}
     7694fi
    76767695fi
    76777696
Note: See TracChangeset for help on using the changeset viewer.