llvm.org GIT mirror llvm / 48381e5
Regenerate configure. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@149391 91177308-0d34-0410-b5e6-96231b3b80d8 Rafael Espindola 8 years ago
2 changed file(s) with 5 addition(s) and 19 deletion(s). Raw diff Collapse all Expand all
39023902 echo "$as_me: WARNING: Configuring LLVM for an unknown target archicture" >&2;}
39033903 fi
39043904
3905 # Determine the LLVM native architecture for the target
39063905 case "$llvm_cv_target_arch" in
39073906 x86) LLVM_NATIVE_ARCH="X86" ;;
39083907 x86_64) LLVM_NATIVE_ARCH="X86" ;;
53445343 TARGETS_TO_BUILD=$TARGETS_TO_BUILD
53455344
53465345
5347 # Determine whether we are building LLVM support for the native architecture.
5348 # If so, define LLVM_NATIVE_ARCH to that LLVM target.
53495346 for a_target in $TARGETS_TO_BUILD; do
53505347 if test "$a_target" = "$LLVM_NATIVE_ARCH"; then
53515348
53905387 fi
53915388 done
53925389
5393 # Build the LLVM_TARGET and LLVM_... macros for Targets.def and the individual
5394 # target feature def files.
53955390 LLVM_ENUM_TARGETS=""
53965391 LLVM_ENUM_ASM_PRINTERS=""
53975392 LLVM_ENUM_ASM_PARSERS=""
1050110496 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
1050210497 lt_status=$lt_dlunknown
1050310498 cat > conftest.$ac_ext <
10504 #line 10505 "configure"
10499 #line 10500 "configure"
1050510500 #include "confdefs.h"
1050610501
1050710502 #if HAVE_DLFCN_H
2083120826 SHLIBPATH_VAR=$libltdl_cv_shlibpath_var
2083220827
2083320828
20834 # Translate the various configuration directories and other basic
20835 # information into substitutions that will end up in Makefile.config.in
20836 # that these configured values can be used by the makefiles
2083720829 if test "${prefix}" = "NONE" ; then
2083820830 prefix="/usr/local"
2083920831 fi
2085820850
2085920851
2086020852
20861 # Place the various directores into the config.h file as #defines so that we
20862 # can know about the installation paths within LLVM.
2086320853
2086420854 cat >>confdefs.h <<_ACEOF
2086520855 #define LLVM_PREFIX "$LLVM_PREFIX"
2091620906 _ACEOF
2091720907
2091820908
20919 # Determine which bindings to build.
2092020909 if test "$BINDINGS_TO_BUILD" = auto ; then
2092120910 BINDINGS_TO_BUILD=""
2092220911 if test "x$OCAMLC" != x -a "x$OCAMLDEP" != x ; then
2092620915 BINDINGS_TO_BUILD=$BINDINGS_TO_BUILD
2092720916
2092820917
20929 # This isn't really configurey, but it avoids having to repeat the list in
20930 # other files.
2093120918 ALL_BINDINGS=ocaml
2093220919
2093320920
20934 # Do any work necessary to ensure that bindings have what they need.
2093520921 binding_prereqs_failed=0
2093620922 for a_binding in $BINDINGS_TO_BUILD ; do
2093720923 case "$a_binding" in
88538853 shlibpath_var=LD_LIBRARY_PATH
88548854 ;;
88558855
8856 freebsd1*)
8856 freebsd1.*)
88578857 dynamic_linker=no
88588858 ;;
88598859
88768876 objformat=`/usr/bin/objformat`
88778877 else
88788878 case $host_os in
8879 freebsd[123]*) objformat=aout ;;
8879 freebsd[123].*) objformat=aout ;;
88808880 *) objformat=elf ;;
88818881 esac
88828882 fi
88948894 esac
88958895 shlibpath_var=LD_LIBRARY_PATH
88968896 case $host_os in
8897 freebsd2*)
8897 freebsd2.*)
88988898 shlibpath_overrides_runpath=yes
88998899 ;;
89008900 freebsd3.[01]* | freebsdelf3.[01]*)
1040810408 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
1040910409 lt_status=$lt_dlunknown
1041010410 cat > conftest.$ac_ext <
10411 #line 10423 "configure"
10411 #line 10412 "configure"
1041210412 #include "confdefs.h"
1041310413
1041410414 #if HAVE_DLFCN_H