Changeset e24f13a for configure.ac
- Timestamp:
- Jun 2, 2016, 6:32:06 PM (7 years ago)
- Branches:
- ADT, aaron-thesis, arm-eh, ast-experimental, cleanup-dtors, ctor, deferred_resn, demangler, enum, forall-pointer-decay, gc_noraii, 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:
- a3e7d34
- Parents:
- 4df85197
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
configure.ac
r4df85197 re24f13a 20 20 21 21 AC_ARG_WITH(backend-compiler, 22 [ --with-backend-compiler=PROGRAM PROGRAM that performs the final code compilation (must be gcc-compatible) ], 23 backcompiler=$withval, backcompiler="") 24 if test x$backcompiler != x; then 25 AC_DEFINE_UNQUOTED(GCC_PATH, "${backcompiler}") 26 BACKEND_CC=${backcompiler} 27 else 28 AC_PATH_PROG(GCC_PATH, gcc, N/A) 29 if test "$GCC_PATH" = "N/A"; then 22 [ --with-backend-compiler=PROGRAM PROGRAM that performs the final code compilation (must be gcc-compatible) ], 23 backendcompiler=$withval, backendcompiler="") 24 if test "x$backendcompiler" != x; then 25 BACKEND_CC=${backendcompiler} 26 else 27 AC_PATH_PROG(BACKEND_CC, gcc, []) 28 if test "x$BACKEND_CC" = "x"; then 30 29 AC_MSG_ERROR(some version of gcc is needed. Get it at ftp://ftp.gnu.org) 31 30 exit 1 32 31 fi 33 AC_DEFINE_UNQUOTED(GCC_PATH, "${GCC_PATH}", [Path/name of C compiler.]) 34 BACKEND_CC=${GCC_PATH} 35 fi 36 AC_SUBST(BACKEND_CC) 32 fi 33 AC_DEFINE_UNQUOTED(CFA_BACKEND_CC, "${BACKEND_CC}", [Location of include files.]) 34 AC_SUBST(CFA_BACKEND_CC) 37 35 38 36 if test "x$prefix" = "xNONE"; then
Note: See TracChangeset
for help on using the changeset viewer.