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.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@99506 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
John Criswell 2010-03-25 13:59:09 +00:00
parent 8fb040308c
commit 52c02866ba
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
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