Changeset e99e43f for configure.ac
- Timestamp:
- Jan 10, 2019, 3:50:34 PM (7 years ago)
- Branches:
- ADT, aaron-thesis, arm-eh, ast-experimental, cleanup-dtors, deferred_resn, enum, forall-pointer-decay, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, no_list, persistent-indexer, pthread-emulation, qualifiedEnum
- Children:
- d97c3a4
- Parents:
- aeb8f70 (diff), 08222c7 (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. - git-author:
- Aaron Moss <a3moss@…> (01/10/19 14:46:09)
- git-committer:
- Aaron Moss <a3moss@…> (01/10/19 15:50:34)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
configure.ac
raeb8f70 re99e43f 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]) 7 8 #AC_CONFIG_SRCDIR([src/main.cc]) 8 9 AC_CONFIG_HEADERS([config.h:src/config.h.in]) … … 55 56 AC_SUBST([DOendif]) 56 57 AM_SUBST_NOTMAKE([DOendif]) 57 58 #==============================================================================59 # backend compiler implementation60 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"; then64 BACKEND_CC=${backendcompiler}65 else66 AC_PATH_PROG(BACKEND_CC, gcc, []) # check gcc installed67 if test "x$BACKEND_CC" = "x"; then68 AC_MSG_ERROR(some version of gcc is needed. Get it at ftp://ftp.gnu.org)69 exit 170 fi71 fi72 AC_DEFINE_UNQUOTED(CFA_BACKEND_CC, "${BACKEND_CC}", [Location of include files.])73 AC_SUBST(CFA_BACKEND_CC)74 58 75 59 #============================================================================== … … 172 156 echo -n "${LIBCFA_PATHS} " >> ${lib_dir}/config.data 173 157 echo -n "ARCHITECTURE=${lib_arch} " >> ${lib_dir}/config.data 174 echo -n "CONFIGURATION=${lib_config}" >> ${lib_dir}/config.data 158 echo -n "CONFIGURATION=${lib_config} " >> ${lib_dir}/config.data 159 echo -n "CFA_VERSION=${ver_major}:${ver_minor}:${ver_patch}" >> ${lib_dir}/config.data 175 160 done 176 161 … … 199 184 AC_PROG_LEX 200 185 if test "${LEX}" = "lex" ; then echo "Error: flex required." ; exit 1 ; fi 186 AC_PROG_LIBTOOL 201 187 AC_PROG_INSTALL 202 188 AC_PROG_MAKE_SET 203 AC_PROG_RANLIB204 189 205 190 # Checks for libraries. … … 227 212 228 213 #============================================================================== 214 # backend compiler implementation 215 AC_DEFINE_UNQUOTED(CFA_BACKEND_CC, "${CC}", [Backend compiler to use.]) 216 AC_SUBST(CFA_BACKEND_CC) 217 218 #============================================================================== 229 219 AC_CONFIG_FILES([ 230 220 Makefile
Note:
See TracChangeset
for help on using the changeset viewer.