OLD | NEW |
1 #! /bin/sh | 1 #! /bin/sh |
2 # Guess values for system-dependent variables and create Makefiles. | 2 # Guess values for system-dependent variables and create Makefiles. |
3 # Generated by GNU Autoconf 2.60 for llvm 3.0svn. | 3 # Generated by GNU Autoconf 2.60 for llvm 3.0svn. |
4 # | 4 # |
5 # Report bugs to <llvmbugs@cs.uiuc.edu>. | 5 # Report bugs to <llvmbugs@cs.uiuc.edu>. |
6 # | 6 # |
7 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, | 7 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, |
8 # 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc. | 8 # 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc. |
9 # This configure script is free software; the Free Software Foundation | 9 # This configure script is free software; the Free Software Foundation |
10 # gives unlimited permission to copy, distribute and modify it. | 10 # gives unlimited permission to copy, distribute and modify it. |
(...skipping 1412 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1423 is YES) | 1423 is YES) |
1424 --enable-shared Build a shared library and link tools against it | 1424 --enable-shared Build a shared library and link tools against it |
1425 (default is NO) | 1425 (default is NO) |
1426 --enable-embed-stdcxx Build a shared library with embedded libstdc++ for | 1426 --enable-embed-stdcxx Build a shared library with embedded libstdc++ for |
1427 Win32 DLL (default is YES) | 1427 Win32 DLL (default is YES) |
1428 --enable-timestamps Enable embedding timestamp information in build | 1428 --enable-timestamps Enable embedding timestamp information in build |
1429 (default is YES) | 1429 (default is YES) |
1430 --enable-targets Build specific host targets: all or | 1430 --enable-targets Build specific host targets: all or |
1431 target1,target2,... Valid targets are: host, x86, | 1431 target1,target2,... Valid targets are: host, x86, |
1432 x86_64, sparc, powerpc, alpha, arm, mips, spu, | 1432 x86_64, sparc, powerpc, alpha, arm, mips, spu, |
1433 xcore, msp430, systemz, blackfin, ptx, cbe, and cpp | 1433 xcore, msp430, systemz, blackfin, ptx, pnacl, cbe, |
1434 (default=all) | 1434 and cpp (default=all) |
1435 --enable-cbe-printf-a Enable C Backend output with hex floating point via | 1435 --enable-cbe-printf-a Enable C Backend output with hex floating point via |
1436 %a (default is YES) | 1436 %a (default is YES) |
1437 --enable-bindings Build specific language bindings: | 1437 --enable-bindings Build specific language bindings: |
1438 all,auto,none,{binding-name} (default=auto) | 1438 all,auto,none,{binding-name} (default=auto) |
1439 --enable-libffi Check for the presence of libffi (default is NO) | 1439 --enable-libffi Check for the presence of libffi (default is NO) |
1440 --enable-ltdl-install install libltdl | 1440 --enable-ltdl-install install libltdl |
1441 | 1441 |
1442 Optional Packages: | 1442 Optional Packages: |
1443 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] | 1443 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] |
1444 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) | 1444 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) |
(...skipping 3613 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5058 if test "${enable_targets+set}" = set; then | 5058 if test "${enable_targets+set}" = set; then |
5059 enableval=$enable_targets; | 5059 enableval=$enable_targets; |
5060 else | 5060 else |
5061 enableval=all | 5061 enableval=all |
5062 fi | 5062 fi |
5063 | 5063 |
5064 if test "$enableval" = host-only ; then | 5064 if test "$enableval" = host-only ; then |
5065 enableval=host | 5065 enableval=host |
5066 fi | 5066 fi |
5067 case "$enableval" in | 5067 case "$enableval" in |
5068 all) TARGETS_TO_BUILD="X86 Sparc PowerPC Alpha ARM Mips CellSPU XCore MSP430 S
ystemZ Blackfin CBackend CppBackend MBlaze PTX" ;; | 5068 all) TARGETS_TO_BUILD="X86 Sparc PowerPC Alpha ARM Mips CellSPU XCore MSP430 S
ystemZ Blackfin CBackend CppBackend MBlaze PTX PNaCl" ;; |
5069 *)for a_target in `echo $enableval|sed -e 's/,/ /g' ` ; do | 5069 *)for a_target in `echo $enableval|sed -e 's/,/ /g' ` ; do |
5070 case "$a_target" in | 5070 case "$a_target" in |
5071 x86) TARGETS_TO_BUILD="X86 $TARGETS_TO_BUILD" ;; | 5071 x86) TARGETS_TO_BUILD="X86 $TARGETS_TO_BUILD" ;; |
5072 x86_64) TARGETS_TO_BUILD="X86 $TARGETS_TO_BUILD" ;; | 5072 x86_64) TARGETS_TO_BUILD="X86 $TARGETS_TO_BUILD" ;; |
5073 sparc) TARGETS_TO_BUILD="Sparc $TARGETS_TO_BUILD" ;; | 5073 sparc) TARGETS_TO_BUILD="Sparc $TARGETS_TO_BUILD" ;; |
5074 powerpc) TARGETS_TO_BUILD="PowerPC $TARGETS_TO_BUILD" ;; | 5074 powerpc) TARGETS_TO_BUILD="PowerPC $TARGETS_TO_BUILD" ;; |
5075 alpha) TARGETS_TO_BUILD="Alpha $TARGETS_TO_BUILD" ;; | 5075 alpha) TARGETS_TO_BUILD="Alpha $TARGETS_TO_BUILD" ;; |
5076 arm) TARGETS_TO_BUILD="ARM $TARGETS_TO_BUILD" ;; | 5076 arm) TARGETS_TO_BUILD="ARM $TARGETS_TO_BUILD" ;; |
5077 mips) TARGETS_TO_BUILD="Mips $TARGETS_TO_BUILD" ;; | 5077 mips) TARGETS_TO_BUILD="Mips $TARGETS_TO_BUILD" ;; |
5078 spu) TARGETS_TO_BUILD="CellSPU $TARGETS_TO_BUILD" ;; | 5078 spu) TARGETS_TO_BUILD="CellSPU $TARGETS_TO_BUILD" ;; |
5079 xcore) TARGETS_TO_BUILD="XCore $TARGETS_TO_BUILD" ;; | 5079 xcore) TARGETS_TO_BUILD="XCore $TARGETS_TO_BUILD" ;; |
5080 msp430) TARGETS_TO_BUILD="MSP430 $TARGETS_TO_BUILD" ;; | 5080 msp430) TARGETS_TO_BUILD="MSP430 $TARGETS_TO_BUILD" ;; |
5081 systemz) TARGETS_TO_BUILD="SystemZ $TARGETS_TO_BUILD" ;; | 5081 systemz) TARGETS_TO_BUILD="SystemZ $TARGETS_TO_BUILD" ;; |
5082 blackfin) TARGETS_TO_BUILD="Blackfin $TARGETS_TO_BUILD" ;; | 5082 blackfin) TARGETS_TO_BUILD="Blackfin $TARGETS_TO_BUILD" ;; |
5083 cbe) TARGETS_TO_BUILD="CBackend $TARGETS_TO_BUILD" ;; | 5083 cbe) TARGETS_TO_BUILD="CBackend $TARGETS_TO_BUILD" ;; |
5084 cpp) TARGETS_TO_BUILD="CppBackend $TARGETS_TO_BUILD" ;; | 5084 cpp) TARGETS_TO_BUILD="CppBackend $TARGETS_TO_BUILD" ;; |
5085 mblaze) TARGETS_TO_BUILD="MBlaze $TARGETS_TO_BUILD" ;; | 5085 mblaze) TARGETS_TO_BUILD="MBlaze $TARGETS_TO_BUILD" ;; |
5086 ptx) TARGETS_TO_BUILD="PTX $TARGETS_TO_BUILD" ;; | 5086 ptx) TARGETS_TO_BUILD="PTX $TARGETS_TO_BUILD" ;; |
| 5087 pnacl) TARGETS_TO_BUILD="PNaCl $TARGETS_TO_BUILD" ;; |
5087 host) case "$llvm_cv_target_arch" in | 5088 host) case "$llvm_cv_target_arch" in |
5088 x86) TARGETS_TO_BUILD="X86 $TARGETS_TO_BUILD" ;; | 5089 x86) TARGETS_TO_BUILD="X86 $TARGETS_TO_BUILD" ;; |
5089 x86_64) TARGETS_TO_BUILD="X86 $TARGETS_TO_BUILD" ;; | 5090 x86_64) TARGETS_TO_BUILD="X86 $TARGETS_TO_BUILD" ;; |
5090 Sparc) TARGETS_TO_BUILD="Sparc $TARGETS_TO_BUILD" ;; | 5091 Sparc) TARGETS_TO_BUILD="Sparc $TARGETS_TO_BUILD" ;; |
5091 PowerPC) TARGETS_TO_BUILD="PowerPC $TARGETS_TO_BUILD" ;; | 5092 PowerPC) TARGETS_TO_BUILD="PowerPC $TARGETS_TO_BUILD" ;; |
5092 Alpha) TARGETS_TO_BUILD="Alpha $TARGETS_TO_BUILD" ;; | 5093 Alpha) TARGETS_TO_BUILD="Alpha $TARGETS_TO_BUILD" ;; |
5093 ARM) TARGETS_TO_BUILD="ARM $TARGETS_TO_BUILD" ;; | 5094 ARM) TARGETS_TO_BUILD="ARM $TARGETS_TO_BUILD" ;; |
5094 Mips) TARGETS_TO_BUILD="Mips $TARGETS_TO_BUILD" ;; | 5095 Mips) TARGETS_TO_BUILD="Mips $TARGETS_TO_BUILD" ;; |
5095 MBlaze) TARGETS_TO_BUILD="MBlaze $TARGETS_TO_BUILD" ;; | 5096 MBlaze) TARGETS_TO_BUILD="MBlaze $TARGETS_TO_BUILD" ;; |
5096 CellSPU|SPU) TARGETS_TO_BUILD="CellSPU $TARGETS_TO_BUILD" ;; | 5097 CellSPU|SPU) TARGETS_TO_BUILD="CellSPU $TARGETS_TO_BUILD" ;; |
5097 XCore) TARGETS_TO_BUILD="XCore $TARGETS_TO_BUILD" ;; | 5098 XCore) TARGETS_TO_BUILD="XCore $TARGETS_TO_BUILD" ;; |
5098 MSP430) TARGETS_TO_BUILD="MSP430 $TARGETS_TO_BUILD" ;; | 5099 MSP430) TARGETS_TO_BUILD="MSP430 $TARGETS_TO_BUILD" ;; |
5099 s390x) TARGETS_TO_BUILD="SystemZ $TARGETS_TO_BUILD" ;; | 5100 s390x) TARGETS_TO_BUILD="SystemZ $TARGETS_TO_BUILD" ;; |
5100 Blackfin) TARGETS_TO_BUILD="Blackfin $TARGETS_TO_BUILD" ;; | 5101 Blackfin) TARGETS_TO_BUILD="Blackfin $TARGETS_TO_BUILD" ;; |
5101 PTX) TARGETS_TO_BUILD="PTX $TARGETS_TO_BUILD" ;; | 5102 PTX) TARGETS_TO_BUILD="PTX $TARGETS_TO_BUILD" ;; |
| 5103 PNaCl) TARGETS_TO_BUILD="PNaCl $TARGETS_TO_BUILD" ;; |
5102 *) { { echo "$as_me:$LINENO: error: Can not set target to buil
d" >&5 | 5104 *) { { echo "$as_me:$LINENO: error: Can not set target to buil
d" >&5 |
5103 echo "$as_me: error: Can not set target to build" >&2;} | 5105 echo "$as_me: error: Can not set target to build" >&2;} |
5104 { (exit 1); exit 1; }; } ;; | 5106 { (exit 1); exit 1; }; } ;; |
5105 esac ;; | 5107 esac ;; |
5106 *) { { echo "$as_me:$LINENO: error: Unrecognized target $a_target" >&5 | 5108 *) { { echo "$as_me:$LINENO: error: Unrecognized target $a_target" >&5 |
5107 echo "$as_me: error: Unrecognized target $a_target" >&2;} | 5109 echo "$as_me: error: Unrecognized target $a_target" >&2;} |
5108 { (exit 1); exit 1; }; } ;; | 5110 { (exit 1); exit 1; }; } ;; |
5109 esac | 5111 esac |
5110 done | 5112 done |
5111 ;; | 5113 ;; |
(...skipping 6495 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
11607 else | 11609 else |
11608 libltdl_cv_need_uscore=unknown | 11610 libltdl_cv_need_uscore=unknown |
11609 save_LIBS="$LIBS" | 11611 save_LIBS="$LIBS" |
11610 LIBS="$LIBS $LIBADD_DL" | 11612 LIBS="$LIBS $LIBADD_DL" |
11611 if test "$cross_compiling" = yes; then : | 11613 if test "$cross_compiling" = yes; then : |
11612 libltdl_cv_need_uscore=cross | 11614 libltdl_cv_need_uscore=cross |
11613 else | 11615 else |
11614 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 | 11616 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 |
11615 lt_status=$lt_dlunknown | 11617 lt_status=$lt_dlunknown |
11616 cat > conftest.$ac_ext <<EOF | 11618 cat > conftest.$ac_ext <<EOF |
11617 #line 11617 "configure" | 11619 #line 11619 "configure" |
11618 #include "confdefs.h" | 11620 #include "confdefs.h" |
11619 | 11621 |
11620 #if HAVE_DLFCN_H | 11622 #if HAVE_DLFCN_H |
11621 #include <dlfcn.h> | 11623 #include <dlfcn.h> |
11622 #endif | 11624 #endif |
11623 | 11625 |
11624 #include <stdio.h> | 11626 #include <stdio.h> |
11625 | 11627 |
11626 #ifdef RTLD_GLOBAL | 11628 #ifdef RTLD_GLOBAL |
11627 # define LT_DLGLOBAL RTLD_GLOBAL | 11629 # define LT_DLGLOBAL RTLD_GLOBAL |
(...skipping 12609 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
24237 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" || | 24239 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" || |
24238 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >
&5 | 24240 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >
&5 |
24239 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;} | 24241 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;} |
24240 { (exit 1); exit 1; }; } | 24242 { (exit 1); exit 1; }; } |
24241 fi | 24243 fi |
24242 | 24244 |
24243 cd "$ac_popdir" | 24245 cd "$ac_popdir" |
24244 done | 24246 done |
24245 fi | 24247 fi |
24246 | 24248 |
OLD | NEW |