ADTaaron-thesisarm-ehast-experimentalcleanup-dtorsdeferred_resndemanglerenumforall-pointer-decayjacob/cs343-translationjenkins-sandboxnew-astnew-ast-unique-exprno_listpersistent-indexerpthread-emulationqualifiedEnum
Last change
on this file since 58b6d1b was
37fe352,
checked in by Thierry Delisle <tdelisle@…>, 6 years ago
|
Added proper multi-lib handling, tests still do not work and arm support is broken
|
-
Property mode set to
100644
|
File size:
1.4 KB
|
Rev | Line | |
---|
[c59712e] | 1 | # -*- Autoconf -*- |
---|
| 2 | # Process this file with autoconf to produce a configure script. |
---|
| 3 | |
---|
| 4 | AC_PREREQ([2.68]) |
---|
| 5 | AC_INIT([cfa-cc],[1.0.0.0],[cforall@plg.uwaterloo.ca]) |
---|
| 6 | AC_CONFIG_AUX_DIR([./automake]) |
---|
| 7 | |
---|
[37fe352] | 8 | m4_include([../automake/cfa.m4]) |
---|
| 9 | |
---|
[c59712e] | 10 | AM_INIT_AUTOMAKE([subdir-objects]) |
---|
| 11 | |
---|
| 12 | # Allow program name tansformation |
---|
| 13 | # will fill program_transform_name with appropriate sed regex |
---|
| 14 | AC_ARG_PROGRAM |
---|
| 15 | |
---|
[37fe352] | 16 | AC_ARG_VAR(ARCHITECTURE, [The architecture to use when building libcfa]) |
---|
[c59712e] | 17 | AC_ARG_VAR(CONFIGURATION, [The configuration to use when building libcfa, options are: deubg, nodebug, nolib (prelude-only)]) |
---|
[ff1e0f38] | 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 | |
---|
[37fe352] | 25 | case $ARCHITECTURE in |
---|
| 26 | "x64" ) ARCH_FLAGS="-m64";; |
---|
| 27 | "x86" ) ARCH_FLAGS="-m32";; |
---|
| 28 | "arm" ) ARCH_FLAGS="";; |
---|
| 29 | esac |
---|
[ff1e0f38] | 30 | |
---|
[37fe352] | 31 | AC_SUBST(ARCH_FLAGS) |
---|
[ff1e0f38] | 32 | |
---|
[37fe352] | 33 | #============================================================================== |
---|
| 34 | #Trasforming cc1 will break compilation |
---|
| 35 | M4CFA_PROGRAM_NAME |
---|
[ff1e0f38] | 36 | |
---|
[37fe352] | 37 | #============================================================================== |
---|
| 38 | # Installation paths |
---|
| 39 | M4CFA_PARSE_PREFIX |
---|
[c59712e] | 40 | |
---|
| 41 | # Checks for programs. |
---|
| 42 | AC_PROG_CXX |
---|
| 43 | AC_PROG_CC |
---|
| 44 | AM_PROG_AS |
---|
| 45 | AC_PROG_INSTALL |
---|
| 46 | AC_PROG_MAKE_SET |
---|
| 47 | AC_PROG_RANLIB |
---|
| 48 | |
---|
| 49 | AC_CONFIG_FILES([ |
---|
| 50 | Makefile |
---|
| 51 | src/Makefile |
---|
| 52 | prelude/Makefile |
---|
| 53 | ]) |
---|
| 54 | |
---|
| 55 | AC_OUTPUT() |
---|
| 56 | |
---|
| 57 | # Final text |
---|
| 58 | AC_MSG_RESULT(Cforall library configuraton completed. Type "make -j 8 install".) |
---|
Note: See
TracBrowser
for help on using the repository browser.