Changes in configure.ac [2fbc904:969e7ee7]
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
configure.ac
r2fbc904 r969e7ee7 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="False" 30 31 AC_ARG_ENABLE(new-ast, 31 32 [ --enable-new-ast whether or not to use new ast as the default AST algorithm], 32 33 [case "${enableval}" in 33 yes) newast=true ; ;34 no) newast=false ;;34 yes) newast=true ; DEFAULT_NEW_AST="True" ;; 35 no) newast=false; DEFAULT_NEW_AST="False" ;; 35 36 *) AC_MSG_ERROR([bad value ${enableval} for --enable-new-ast]) ;; 36 37 esac],[newast=false]) 37 38 AC_DEFINE_UNQUOTED([CFA_USE_NEW_AST], $newast) 39 AC_SUBST(DEFAULT_NEW_AST) 38 40 39 41 #==============================================================================
Note: See TracChangeset
for help on using the changeset viewer.