[llvm-commits] CVS: llvm/autoconf/configure.ac
Reid Spencer
reid at x10sys.com
Sun Apr 9 13:42:28 PDT 2006
Changes in directory llvm/autoconf:
configure.ac updated: 1.216 -> 1.217
---
Log message:
Change the assertions defaults:
1. Assertions now default to on for all builds
2. If you want them disabled you must (a) --disable-assertions to configure
or DISABLE_ASSERTIONS=1 to make.
---
Diffs of the changes: (+4 -6)
configure.ac | 10 ++++------
1 files changed, 4 insertions(+), 6 deletions(-)
Index: llvm/autoconf/configure.ac
diff -u llvm/autoconf/configure.ac:1.216 llvm/autoconf/configure.ac:1.217
--- llvm/autoconf/configure.ac:1.216 Fri Apr 7 20:41:26 2006
+++ llvm/autoconf/configure.ac Sun Apr 9 15:42:14 2006
@@ -193,12 +193,10 @@
if test -d "CVS" -o -d "${srcdir}/CVS"; then
cvsbuild="yes"
optimize="no"
- asserts="yes"
AC_SUBST(CVSBUILD,[[CVSBUILD=1]])
else
cvsbuild="no"
optimize="yes"
- asserts="no"
fi
dnl===-----------------------------------------------------------------------===
@@ -218,11 +216,11 @@
dnl --enable-assertions : check whether they want to turn on assertions or not:
AC_ARG_ENABLE(assertions,AS_HELP_STRING(
- [--enable-assertions,Compile with assertion checks enabled (default is NO)]),, enableval=$asserts)
-if test ${enableval} = "no" ; then
- AC_SUBST(ENABLE_ASSERTIONS,[[]])
+ [--enable-assertions,Compile with assertion checks enabled (default is YES)]),, enableval="yes")
+if test ${enableval} = "yes" ; then
+ AC_SUBST(DISABLE_ASSERTIONS,[[]])
else
- AC_SUBST(ENABLE_ASSERTIONS,[[ENABLE_ASSERTIONS=1]])
+ AC_SUBST(DISABLE_ASSERTIONS,[[DISABLE_ASSERTIONS=1]])
fi
dnl --enable-debug-runtime : should runtime libraries have debug symbols?
More information about the llvm-commits
mailing list