Changeset 969e7ee7
- Timestamp:
- Oct 30, 2020, 12:18:34 PM (3 years ago)
- Branches:
- ADT, arm-eh, ast-experimental, enum, forall-pointer-decay, jacob/cs343-translation, master, new-ast-unique-expr, pthread-emulation, qualifiedEnum
- Children:
- 99581ee
- Parents:
- 4ae78c1
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
configure.ac
r4ae78c1 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 #============================================================================== -
tests/config.py.in
r4ae78c1 r969e7ee7 9 9 HOSTARCH = "@host_cpu@" 10 10 DISTRIBUTE = @HAS_DISTCC@ 11 NEWAST = @DEFAULT_NEW_AST@
Note: See TracChangeset
for help on using the changeset viewer.