Don't configure directories that don't have a configure script (i.e Stacker).
[oota-llvm.git] / autoconf / configure.ac
index d1df826dd78ce1a5c1494e499d0c7c87b572511f..6534ae7c0d48efea418fb4f67c3ff8d478118ed9 100644 (file)
@@ -37,7 +37,7 @@ for i in `ls ${srcdir}/projects`
 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