Changeset cde3891 for libcfa/configure.ac
- Timestamp:
- Jan 23, 2019, 4:52:16 PM (7 years ago)
- Branches:
- ADT, arm-eh, ast-experimental, cleanup-dtors, enum, forall-pointer-decay, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, pthread-emulation, qualifiedEnum
- Children:
- a200795
- Parents:
- 9b086ca (diff), 1d832f4 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)links above to see all the changes relative to each parent. - File:
-
- 1 edited
-
libcfa/configure.ac (modified) (7 diffs)
Legend:
- Unmodified
- Added
- Removed
-
libcfa/configure.ac
r9b086ca rcde3891 4 4 AC_PREREQ([2.68]) 5 5 AC_INIT([cfa-cc],[1.0.0.0],[cforall@plg.uwaterloo.ca]) 6 AC_CONFIG_AUX_DIR([./automake]) 6 AC_CONFIG_AUX_DIR([automake]) 7 AC_CONFIG_MACRO_DIRS([automake]) 7 8 AM_SILENT_RULES([yes]) 8 9 … … 14 15 : ${CFLAGS=""} 15 16 17 # define this to override 18 AR_FLAGS="cr" 19 16 20 # Allow program name tansformation 17 21 # will fill program_transform_name with appropriate sed regex … … 21 25 AC_ARG_VAR(CONFIGURATION, [The configuration to use when building libcfa, options are: deubg, nodebug, nolib (prelude-only)]) 22 26 AC_ARG_VAR(DRIVER_DIR, [The path to the cforall driver directory]) 27 AC_ARG_VAR(CFA_VERSION, [The long version of cfa]) 23 28 24 29 CFACC=${DRIVER_DIR}cfa … … 26 31 AC_SUBST(CFACC) 27 32 AC_SUBST(CFACPP) 33 AC_SUBST(CFA_VERSION) 28 34 29 35 #============================================================================== … … 41 47 CONFIG_CFLAGS="-O0 -g" 42 48 CONFIG_CFAFLAGS="-debug" 49 CONFIG_BUILDLIB="yes" 43 50 ;; 44 51 "nodebug" ) 45 52 CONFIG_CFLAGS="-O2 -s" 46 53 CONFIG_CFAFLAGS="-nodebug" 54 CONFIG_BUILDLIB="yes" 47 55 ;; 48 56 "nolib" ) 49 CONFIG_CFLAGS="" 50 CONFIG_CFAFLAGS="" 57 CONFIG_CFLAGS="-O2 -s" 58 CONFIG_CFAFLAGS="-nodebug" 59 CONFIG_BUILDLIB="no" 60 ;; 61 *) 62 AC_MSG_ERROR('Invalid value $CONFIGURATION for \$CONFIGURATION') 51 63 ;; 52 64 esac … … 54 66 AC_SUBST(CONFIG_CFLAGS) 55 67 AC_SUBST(CONFIG_CFAFLAGS) 68 AC_SUBST(CONFIG_BUILDLIB) 69 70 AM_CONDITIONAL([BUILDLIB], [test "x${CONFIG_BUILDLIB}" = "xyes"]) 56 71 57 72 #============================================================================== … … 64 79 65 80 # Checks for programs. 81 LT_INIT 82 66 83 AC_PROG_CXX 67 84 AC_PROG_CC 68 85 AM_PROG_AS 86 AC_PROG_LIBTOOL 69 87 AC_PROG_INSTALL 70 88 AC_PROG_MAKE_SET 71 AC_PROG_RANLIB72 89 73 90 AC_CONFIG_FILES([
Note:
See TracChangeset
for help on using the changeset viewer.