Changes in configure.ac [0fc91db1:49ce636]
- File:
-
- 1 edited
-
configure.ac (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
configure.ac
r0fc91db1 r49ce636 24 24 #Trasforming cc1 will break compilation 25 25 M4CFA_PROGRAM_NAME 26 27 #============================================================================== 28 # New AST toggling support 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" 31 AC_ARG_ENABLE(new-ast, 32 [ --enable-new-ast whether or not to use new ast as the default AST algorithm], 33 [case "${enableval}" in 34 yes) newast=true ; DEFAULT_NEW_AST="True" ;; 35 no) newast=false; DEFAULT_NEW_AST="False" ;; 36 *) AC_MSG_ERROR([bad value ${enableval} for --enable-new-ast]) ;; 37 esac],[newast=true]) 38 AC_DEFINE_UNQUOTED([CFA_USE_NEW_AST], $newast) 39 AC_SUBST(DEFAULT_NEW_AST) 26 40 27 41 #============================================================================== … … 125 139 \'--enable-gprofiler=*) ;; 126 140 \'--disable-gprofiler) ;; 141 142 # skip the target hosts 143 \'--enable-new-ast=*) ;; 144 \'--disable-new-ast) ;; 127 145 128 146 # skip this, it only causes problems
Note:
See TracChangeset
for help on using the changeset viewer.