Don't attempt to (illegally) configure a subdir if we don't recognize it.
authorReid Spencer <rspencer@reidspencer.com>
Tue, 21 Sep 2004 17:12:35 +0000 (17:12 +0000)
committerReid Spencer <rspencer@reidspencer.com>
Tue, 21 Sep 2004 17:12:35 +0000 (17:12 +0000)
Instead just create a warning message that says the directory cannot be
configured because it isn't recognized. This also gets rid of a bunch of
warning messages from the auto* tools.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16463 91177308-0d34-0410-b5e6-96231b3b80d8

autoconf/configure.ac

index 55e0329dd84bb70d4bc7bbe18917b4912e6b1876..0645baadaa5a0edf70f0321fbac06d0680b8b6bc 100644 (file)
@@ -31,7 +31,9 @@ do
       "Java")         AC_CONFIG_SUBDIRS([projects/Java])      ;;
       "llvm-tv")      AC_CONFIG_SUBDIRS([projects/llvm-tv])   ;;
       "llvm-fefw")    AC_CONFIG_SUBDIRS([projects/llvm-fefw]) ;;
-      *)              AC_CONFIG_SUBDIRS(${i}) ;;
+      *)              
+        AC_MSG_WARN([Unknown projects (${i})won't be configured automatically])
+        ;;
     esac
   fi
 done