Changeset ff1e0f38 for libcfa/configure.ac
- Timestamp:
- Aug 3, 2018, 1:57:12 PM (7 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, no_list, persistent-indexer, pthread-emulation, qualifiedEnum
- Children:
- ba9baad
- Parents:
- c59712e
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
libcfa/configure.ac
rc59712e rff1e0f38 16 16 17 17 AC_ARG_VAR(CONFIGURATION, [The configuration to use when building libcfa, options are: deubg, nodebug, nolib (prelude-only)]) 18 AC_ARG_VAR(DRIVER_DIR, [The path to the cforall driver directory]) 19 20 CFACC=${DRIVER_DIR}cfa 21 CFACPP=${DRIVER_DIR}cfa-cpp 22 AC_SUBST(CFACC) 23 AC_SUBST(CFACPP) 24 25 #============================================================================== 26 # Installation paths 27 if test "x$prefix" = "xNONE"; then 28 cfa_prefix=${ac_default_prefix} 29 else 30 cfa_prefix=${prefix} 31 fi 32 AC_DEFINE_UNQUOTED(CFA_PREFIX, "${cfa_prefix}", [Location of cfa install.]) 33 AC_SUBST(CFA_PREFIX, ${cfa_prefix}) 34 35 if test "$includedir" = '${prefix}/include'; then 36 cfa_incdir="${cfa_prefix}/include/${cfa_name}" 37 else 38 cfa_incdir=${includedir} 39 fi 40 AC_DEFINE_UNQUOTED(CFA_INCDIR, "${cfa_incdir}", [Location of include files.]) 41 AC_SUBST(CFA_INCDIR, ${cfa_incdir}) 42 43 if test "$bindir" = '${exec_prefix}/bin'; then 44 cfa_bindir="${cfa_prefix}/bin" 45 else 46 cfa_bindir=${bindir} 47 fi 48 AC_DEFINE_UNQUOTED(CFA_BINDIR, "${cfa_bindir}", [Location of cfa command.]) 49 AC_SUBST(CFA_BINDIR, ${cfa_bindir}) 50 51 if test "$libdir" = '${exec_prefix}/lib'; then 52 cfa_libdir="${cfa_prefix}/lib/${cfa_name}" 53 else 54 cfa_libdir=${libdir} 55 fi 56 AC_DEFINE_UNQUOTED(CFA_LIBDIR, "${cfa_libdir}", [Location of cc1 and cfa-cpp commands.]) 57 AC_SUBST(CFA_LIBDIR, ${cfa_libdir}) 18 58 19 59 # Checks for programs.
Note: See TracChangeset
for help on using the changeset viewer.