Changes in configure.ac [a1850ac:d738aeb]
- File:
-
- 1 edited
-
configure.ac (modified) (6 diffs)
Legend:
- Unmodified
- Added
- Removed
-
configure.ac
ra1850ac rd738aeb 3 3 4 4 AC_PREREQ([2.68]) 5 AC_INIT([cfa-cc],[1.0.0 ],[cforall@plg.uwaterloo.ca])5 AC_INIT([cfa-cc],[1.0.0.0],[cforall@plg.uwaterloo.ca]) 6 6 AC_CONFIG_AUX_DIR([automake]) 7 7 AC_CONFIG_MACRO_DIRS([automake]) … … 28 28 # New AST toggling support 29 29 AH_TEMPLATE([CFA_USE_NEW_AST],[Sets whether or not to use the new-ast, this is adefault value and can be overrided by --old-ast and --new-ast]) 30 DEFAULT_NEW_AST=" True"30 DEFAULT_NEW_AST="False" 31 31 AC_ARG_ENABLE(new-ast, 32 32 [ --enable-new-ast whether or not to use new ast as the default AST algorithm], … … 35 35 no) newast=false; DEFAULT_NEW_AST="False" ;; 36 36 *) AC_MSG_ERROR([bad value ${enableval} for --enable-new-ast]) ;; 37 esac],[newast= true])37 esac],[newast=false]) 38 38 AC_DEFINE_UNQUOTED([CFA_USE_NEW_AST], $newast) 39 39 AC_SUBST(DEFAULT_NEW_AST) … … 103 103 # Create variables for commonly used targets 104 104 105 TOP_SRCDIR="$(readlink - e $ac_abs_confdir/)/"106 TOP_BUILDDIR="$(readlink - e$ac_pwd/)/"105 TOP_SRCDIR="$(readlink -m $ac_confdir/)/" 106 TOP_BUILDDIR="$(readlink -m $ac_pwd/)/" 107 107 108 108 AC_DEFINE_UNQUOTED(TOP_SRCDIR, "$TOP_SRCDIR", [Top src directory]) … … 139 139 \'--enable-gprofiler=*) ;; 140 140 \'--disable-gprofiler) ;; 141 142 # skip the target hosts143 \'--enable-new-ast=*) ;;144 \'--disable-new-ast) ;;145 141 146 142 # skip this, it only causes problems … … 291 287 libcfa/Makefile:libcfa/Makefile.dist.in 292 288 tests/Makefile 289 longrun_tests/Makefile 290 benchmark/Makefile 291 benchmark/io/http/Makefile 292 tools/Makefile 293 tools/prettyprinter/Makefile 293 294 ]) 294 295 # Some of our makefile don't need to be distributed296 AM_CONDITIONAL([CFORALL_DISTRIBUTE], [test -e $TOP_SRCDIR/autogen.sh])297 AM_COND_IF([CFORALL_DISTRIBUTE],298 [AC_CONFIG_FILES([299 longrun_tests/Makefile300 benchmark/Makefile301 benchmark/io/http/Makefile302 tools/Makefile303 tools/prettyprinter/Makefile304 ])])305 295 306 296 AC_CONFIG_LINKS([tests/test.py:tests/test.py])
Note:
See TracChangeset
for help on using the changeset viewer.