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

John Criswell criswell at cs.uiuc.edu
Tue Nov 25 14:37:01 PST 2003


Changes in directory llvm/autoconf:

configure.ac updated: 1.58 -> 1.59

---
Log message:

Configure all project directories contained in llvm/projects.
The autoconf program will generate a warning about how we should use a
literal in AC_CONFIG_SUBDIRS.  This warning can be ignored.



---
Diffs of the changes:  (+13 -26)

Index: llvm/autoconf/configure.ac
diff -u llvm/autoconf/configure.ac:1.58 llvm/autoconf/configure.ac:1.59
--- llvm/autoconf/configure.ac:1.58	Tue Nov 25 11:49:22 2003
+++ llvm/autoconf/configure.ac	Tue Nov 25 14:36:46 2003
@@ -30,20 +30,19 @@
 	fi
 fi
 
-if test -d ${srcdir}/projects/sample
-then
-  AC_CONFIG_SUBDIRS(projects/sample)
-fi
-
-if test -d ${srcdir}/projects/reopt
-then
-  AC_CONFIG_SUBDIRS(projects/reopt)
-fi
-
-if test -d ${srcdir}/projects/poolalloc
-then
-  AC_CONFIG_SUBDIRS(projects/poolalloc)
-fi
+dnl
+dnl Configure all of the projects present in our source tree.
+dnl
+for i in `ls ${srcdir}/projects`
+do
+  if test ${i} != "CVS"
+  then
+    if test -d ${srcdir}/projects/${i}
+    then
+      AC_CONFIG_SUBDIRS(projects/${i})
+    fi
+  fi
+done
 
 dnl Configure a header file
 AC_CONFIG_HEADERS(include/Config/config.h)
@@ -94,18 +93,6 @@
 AC_CONFIG_MAKEFILE(tools/Makefile)
 AC_CONFIG_MAKEFILE(utils/Makefile)
 AC_CONFIG_MAKEFILE(projects/Makefile)
-AC_CONFIG_MAKEFILE(projects/ModuleMaker/Makefile)
-AC_CONFIG_MAKEFILE(projects/ModuleMaker/Makefile.common)
-AC_CONFIG_MAKEFILE(projects/ModuleMaker/tools/Makefile)
-AC_CONFIG_MAKEFILE(projects/ModuleMaker/tools/ModuleMaker/Makefile)
-AC_CONFIG_MAKEFILE(projects/Stacker/Makefile)
-AC_CONFIG_MAKEFILE(projects/Stacker/lib/Makefile)
-AC_CONFIG_MAKEFILE(projects/Stacker/lib/compiler/Makefile)
-AC_CONFIG_MAKEFILE(projects/Stacker/lib/runtime/Makefile)
-AC_CONFIG_MAKEFILE(projects/Stacker/tools/Makefile)
-AC_CONFIG_MAKEFILE(projects/Stacker/tools/stkrc/Makefile)
-AC_CONFIG_MAKEFILE(projects/Stacker/test/Makefile)
-AC_CONFIG_MAKEFILE(projects/Stacker/samples/Makefile)
 
 dnl **************************************************************************
 dnl * Determine which system we are building on





More information about the llvm-commits mailing list