Changeset 6e4b913 for configure.ac
- Timestamp:
- Jul 10, 2016, 4:35:32 PM (8 years ago)
- Branches:
- ADT, aaron-thesis, arm-eh, ast-experimental, cleanup-dtors, ctor, deferred_resn, demangler, enum, forall-pointer-decay, jacob/cs343-translation, jenkins-sandbox, master, memory, new-ast, new-ast-unique-expr, new-env, no_list, persistent-indexer, pthread-emulation, qualifiedEnum, resolv-new, with_gc
- Children:
- 4e06c1e, c13d970
- Parents:
- 07bc165
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
configure.ac
r07bc165 r6e4b913 10 10 11 11 if test "x${CXXFLAGS}" = "x"; then 12 export CXXFLAGS="-std=c++11 -g -O2 ${CXXFLAGS}"12 export CXXFLAGS="-std=c++11 -g ${CXXFLAGS}" # defaults, no -O2 for debugging and failures 13 13 else 14 export CXXFLAGS="-std=c++11 ${CXXFLAGS}" 14 export CXXFLAGS="-std=c++11 ${CXXFLAGS}" # flags from configure command 15 15 fi 16 16 17 17 AM_INIT_AUTOMAKE 18 AM_MAINTAINER_MODE(enable) # may require auto* software to be installed18 AM_MAINTAINER_MODE(enable) # may require auto* software to be installed 19 19 20 20 # Installation paths … … 23 23 [ --with-backend-compiler=PROGRAM PROGRAM that performs the final code compilation (must be gcc-compatible) ], 24 24 backendcompiler=$withval, backendcompiler="") 25 if test "x$backendcompiler" != x; then25 if test "x$backendcompiler" != "x"; then 26 26 BACKEND_CC=${backendcompiler} 27 27 else 28 AC_PATH_PROG(BACKEND_CC, gcc, []) 28 AC_PATH_PROG(BACKEND_CC, gcc, []) # check gcc installed 29 29 if test "x$BACKEND_CC" = "x"; then 30 30 AC_MSG_ERROR(some version of gcc is needed. Get it at ftp://ftp.gnu.org) … … 66 66 AC_DEFINE_UNQUOTED(CFA_LIBDIR, "${cfa_libdir}", [Location of cc1 and cfa-cpp commands.]) 67 67 AC_SUBST(CFA_LIBDIR, ${cfa_libdir}) 68 69 AC_DEFINE_UNQUOTED(CFA_FLAGS, "${CFAFLAGS}", [compilation flags for cfa libraries and test programs.]) 70 AC_SUBST(CFA_FLAGS, ${CFAFLAGS}) 68 71 69 72 # Checks for programs.
Note: See TracChangeset
for help on using the changeset viewer.