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

John Criswell criswell at cs.uiuc.edu
Mon Sep 15 12:05:05 PDT 2003


Changes in directory llvm/autoconf:

configure.ac updated: 1.15 -> 1.16

---
Log message:

Added code that verifies that the source directory has not been configured
already.  This should help prevent strange errors from happening, but will
make re-configuring the source directory more difficult when it is shared with
the object directory.


---
Diffs of the changes:

Index: llvm/autoconf/configure.ac
diff -u llvm/autoconf/configure.ac:1.15 llvm/autoconf/configure.ac:1.16
--- llvm/autoconf/configure.ac:1.15	Fri Sep 12 21:35:56 2003
+++ llvm/autoconf/configure.ac	Mon Sep 15 12:04:06 2003
@@ -20,6 +20,13 @@
 dnl Place all of the extra autoconf files into the config subdirectory
 AC_CONFIG_AUX_DIR([autoconf])
 
+dnl Quit if the source directory has already been configured.
+if test -f ${srcdir}/include/Config/config.h
+then
+	AC_MSG_ERROR([Already configured in ${srcdir}])
+fi
+
+
 dnl Configure a header file
 AC_CONFIG_HEADERS(include/Config/config.h)
 AC_CONFIG_MAKEFILE(Makefile)





More information about the llvm-commits mailing list