Don't configure directories that don't have a configure script (i.e Stacker).
authorJohn Criswell <criswell@uiuc.edu>
Fri, 12 Dec 2003 20:09:33 +0000 (20:09 +0000)
committerJohn Criswell <criswell@uiuc.edu>
Fri, 12 Dec 2003 20:09:33 +0000 (20:09 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10436 91177308-0d34-0410-b5e6-96231b3b80d8

autoconf/configure.ac

index d1df826dd78ce1a5c1494e499d0c7c87b572511f..6534ae7c0d48efea418fb4f67c3ff8d478118ed9 100644 (file)
@@ -37,7 +37,7 @@ for i in `ls ${srcdir}/projects`
 do
   if test ${i} != "CVS"
   then
 do
   if test ${i} != "CVS"
   then
-    if test -d ${srcdir}/projects/${i}
+    if test -f ${srcdir}/projects/${i}/configure
     then
       AC_CONFIG_SUBDIRS(projects/${i})
     fi
     then
       AC_CONFIG_SUBDIRS(projects/${i})
     fi