Changeset 24f4671
- Timestamp:
- Dec 13, 2016, 10:53:21 AM (8 years ago)
- Branches:
- ADT, aaron-thesis, arm-eh, ast-experimental, 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
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
TabularUnified configure ¶
r2ee5426 r24f4671 658 658 CFA_INCDIR 659 659 CFA_PREFIX 660 BUILD_NO_LIB_FALSE 661 BUILD_NO_LIB_TRUE 660 662 BUILD_DEBUG_FALSE 661 663 BUILD_DEBUG_TRUE … … 3146 3148 ;; 3147 3149 no) 3148 as_fn_error $? "Must build target debug or release" "$LINENO" 53149 exit 1;3150 build_release="no" 3151 build_debug="no" 3150 3152 ;; 3151 3153 *) … … 3187 3189 BUILD_DEBUG_TRUE='#' 3188 3190 BUILD_DEBUG_FALSE= 3191 fi 3192 3193 if test "x$build_release$build_debug" = "xnono"; then 3194 BUILD_NO_LIB_TRUE= 3195 BUILD_NO_LIB_FALSE='#' 3196 else 3197 BUILD_NO_LIB_TRUE='#' 3198 BUILD_NO_LIB_FALSE= 3189 3199 fi 3190 3200 … … 6304 6314 if test -z "${BUILD_DEBUG_TRUE}" && test -z "${BUILD_DEBUG_FALSE}"; then 6305 6315 as_fn_error $? "conditional \"BUILD_DEBUG\" was never defined. 6316 Usually this means the macro was only invoked conditionally." "$LINENO" 5 6317 fi 6318 if test -z "${BUILD_NO_LIB_TRUE}" && test -z "${BUILD_NO_LIB_FALSE}"; then 6319 as_fn_error $? "conditional \"BUILD_NO_LIB\" was never defined. 6306 6320 Usually this means the macro was only invoked conditionally." "$LINENO" 5 6307 6321 fi … … 7672 7686 fi 7673 7687 else 7688 if test -z "$BUILD_DEBUG_TRUE"; then : 7674 7689 { $as_echo "$as_me:${as_lineno-$LINENO}: Building libcfa for target: debug" >&5 7675 7690 $as_echo "$as_me: Building libcfa for target: debug" >&6;} 7691 else 7692 { $as_echo "$as_me:${as_lineno-$LINENO}: Running cfa without libcfa" >&5 7693 $as_echo "$as_me: Running cfa without libcfa" >&6;} 7694 fi 7676 7695 fi 7677 7696 -
TabularUnified configure.ac ¶
r2ee5426 r24f4671 82 82 ;; 83 83 no) 84 AC_MSG_ERROR(Must build target debug or release)85 exit 1;84 build_release="no" 85 build_debug="no" 86 86 ;; 87 87 *) … … 111 111 AM_CONDITIONAL([BUILD_RELEASE], [test "x$build_release" = "xyes"]) 112 112 AM_CONDITIONAL([BUILD_DEBUG], [test "x$build_debug" = "xyes"]) 113 AM_CONDITIONAL([BUILD_NO_LIB], [test "x$build_release$build_debug" = "xnono"]) 113 114 114 115 if test "x$prefix" = "xNONE"; then … … 200 201 [AC_MSG_NOTICE(Building libcfa for target: release & debug)], 201 202 [AC_MSG_NOTICE(Building libcfa for target: release)])], 202 [AC_MSG_NOTICE(Building libcfa for target: debug)]) 203 [AM_COND_IF([BUILD_DEBUG], 204 [AC_MSG_NOTICE(Building libcfa for target: debug)], 205 [AC_MSG_NOTICE(Running cfa without libcfa)])]) 203 206 204 207 # Final text -
TabularUnified src/driver/Makefile.am ¶
r2ee5426 r24f4671 17 17 # applies to both programs 18 18 AM_CXXFLAGS = -Wall -O2 19 if BUILD_NO_LIB 20 else 21 AM_CXXFLAGS += -DHAVE_LIBCFA 22 endif 23 if BUILD_DEBUG 24 AM_CXXFLAGS += -DHAVE_LIBCFA_DEBUG 25 endif 26 if BUILD_RELEASE 27 AM_CXXFLAGS += -DHAVE_LIBCFA_RELEASE 28 endif 19 29 20 30 bin_PROGRAMS = cfa -
TabularUnified src/driver/Makefile.in ¶
r2ee5426 r24f4671 38 38 build_triplet = @build@ 39 39 host_triplet = @host@ 40 @BUILD_NO_LIB_FALSE@am__append_1 = -DHAVE_LIBCFA 41 @BUILD_DEBUG_TRUE@am__append_2 = -DHAVE_LIBCFA_DEBUG 42 @BUILD_RELEASE_TRUE@am__append_3 = -DHAVE_LIBCFA_RELEASE 40 43 bin_PROGRAMS = cfa$(EXEEXT) 41 44 cc1lib_PROGRAMS = cc1$(EXEEXT) … … 204 207 205 208 # applies to both programs 206 AM_CXXFLAGS = -Wall -O2 209 AM_CXXFLAGS = -Wall -O2 $(am__append_1) $(am__append_2) \ 210 $(am__append_3) 207 211 cfa_SOURCES = cfa.cc 208 212
Note: See TracChangeset
for help on using the changeset viewer.