Changes in configure.ac [107b01a:c6bbcdb]
- File:
-
- 1 edited
-
configure.ac (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
configure.ac
r107b01a rc6bbcdb 5 5 AC_INIT([cfa-cc],[1.0.0.0],[cforall@plg.uwaterloo.ca]) 6 6 AC_CONFIG_AUX_DIR([automake]) 7 AC_CONFIG_MACRO_DIRS([automake])8 7 #AC_CONFIG_SRCDIR([src/main.cc]) 9 8 AC_CONFIG_HEADERS([config.h:src/config.h.in]) … … 56 55 AC_SUBST([DOendif]) 57 56 AM_SUBST_NOTMAKE([DOendif]) 57 58 #============================================================================== 59 # backend compiler implementation 60 AC_ARG_WITH(backend-compiler, 61 [ --with-backend-compiler=PROGRAM PROGRAM that performs the final code compilation (must be gcc-compatible) ], 62 backendcompiler=$withval, backendcompiler="") 63 if test "x$backendcompiler" != "x"; then 64 BACKEND_CC=${backendcompiler} 65 else 66 AC_PATH_PROG(BACKEND_CC, gcc, []) # check gcc installed 67 if test "x$BACKEND_CC" = "x"; then 68 AC_MSG_ERROR(some version of gcc is needed. Get it at ftp://ftp.gnu.org) 69 exit 1 70 fi 71 fi 72 AC_DEFINE_UNQUOTED(CFA_BACKEND_CC, "${BACKEND_CC}", [Location of include files.]) 73 AC_SUBST(CFA_BACKEND_CC) 58 74 59 75 #============================================================================== … … 184 200 AC_PROG_LEX 185 201 if test "${LEX}" = "lex" ; then echo "Error: flex required." ; exit 1 ; fi 186 AC_PROG_LIBTOOL187 202 AC_PROG_INSTALL 188 203 AC_PROG_MAKE_SET 204 AC_PROG_RANLIB 189 205 190 206 # Checks for libraries. … … 212 228 213 229 #============================================================================== 214 # backend compiler implementation215 AC_DEFINE_UNQUOTED(CFA_BACKEND_CC, "${CC}", [Backend compiler to use.])216 AC_SUBST(CFA_BACKEND_CC)217 218 #==============================================================================219 230 AC_CONFIG_FILES([ 220 231 Makefile
Note:
See TracChangeset
for help on using the changeset viewer.