[llvm-commits] CVS: llvm/autoconf/configure.ac

Reid Spencer reid at x10sys.com
Fri Apr 7 18:41:39 PDT 2006



Changes in directory llvm/autoconf:

configure.ac updated: 1.215 -> 1.216
---
Log message:

Ensure that the automatic "CVS build" detection works for both 
objdir == srcdir and objdir != srcdir.


---
Diffs of the changes:  (+1 -1)

 configure.ac |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)


Index: llvm/autoconf/configure.ac
diff -u llvm/autoconf/configure.ac:1.215 llvm/autoconf/configure.ac:1.216
--- llvm/autoconf/configure.ac:1.215	Fri Apr  7 11:01:51 2006
+++ llvm/autoconf/configure.ac	Fri Apr  7 20:41:26 2006
@@ -190,7 +190,7 @@
 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" ; then
+if test -d "CVS" -o -d "${srcdir}/CVS"; then
   cvsbuild="yes"
   optimize="no"
   asserts="yes"






More information about the llvm-commits mailing list