Fixed spurious warning problem noticed by Daniel Dunbar. The configure script

now configures prerequisite projects individually but also ignores them in the
big project switch statement to avoid the incorrect warning.

llvm-svn: 99506
This commit is contained in:
John Criswell 2010-03-25 13:59:09 +00:00
parent b23f8f9dd5
commit 4e61b255e2
2 changed files with 11 additions and 1 deletions

View File

@ -110,6 +110,11 @@ do
llvm-tv) AC_CONFIG_SUBDIRS([projects/llvm-tv]) ;;
safecode) AC_CONFIG_SUBDIRS([projects/safecode]) ;;
llvm-kernel) AC_CONFIG_SUBDIRS([projects/llvm-kernel]) ;;
llvm-gcc) ;;
test-suite) ;;
llvm-test) ;;
poolalloc) ;;
llvm-poolalloc) ;;
*)
AC_MSG_WARN([Unknown project (${i}) won't be configured automatically])
;;

7
llvm/configure vendored
View File

@ -1999,6 +1999,11 @@ do
;;
llvm-kernel) subdirs="$subdirs projects/llvm-kernel"
;;
llvm-gcc) ;;
test-suite) ;;
llvm-test) ;;
poolalloc) ;;
llvm-poolalloc) ;;
*)
{ echo "$as_me:$LINENO: WARNING: Unknown project (${i}) won't be configured automatically" >&5
echo "$as_me: WARNING: Unknown project (${i}) won't be configured automatically" >&2;}
@ -11151,7 +11156,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<EOF
#line 11154 "configure"
#line 11159 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H