[llvm-commits] CVS: llvm/autoconf/configure.ac
Reid Spencer
reid at x10sys.com
Mon Apr 2 08:40:56 PDT 2007
Changes in directory llvm/autoconf:
configure.ac updated: 1.267 -> 1.268
---
Log message:
Check for .svn directories too to determine if a debug build is appropriate.
---
Diffs of the changes: (+3 -3)
configure.ac | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
Index: llvm/autoconf/configure.ac
diff -u llvm/autoconf/configure.ac:1.267 llvm/autoconf/configure.ac:1.268
--- llvm/autoconf/configure.ac:1.267 Thu Mar 29 10:37:57 2007
+++ llvm/autoconf/configure.ac Mon Apr 2 10:40:39 2007
@@ -235,13 +235,13 @@
AC_SUBST(LLVM_CROSS_COMPILING, [0])
fi
-dnl Check to see if there's a "CVS" directory indicating that this build is
-dnl being done from a CVS checkout. This sets up several defaults for the
+dnl Check to see if there's a "CVS" (or .svn) directory indicating that this
+dnl build is being done from a checkout. This sets up several defaults for the
dnl command line switches. When we build with a CVS directory, we get a
dnl debug with assertions turned on. Without, we assume a source release and we
dnl get an optimized build without assertions. See --enable-optimized and
dnl --enable-assertions below
-if test -d "CVS" -o -d "${srcdir}/CVS"; then
+if test -d "CVS" -o -d "${srcdir}/CVS" -o -d ".svn" -o -d "${srcdir}/.svn"; then
cvsbuild="yes"
optimize="no"
AC_SUBST(CVSBUILD,[[CVSBUILD=1]])
More information about the llvm-commits
mailing list