diff options
| -rwxr-xr-x | llvm/configure | 66 | 
1 files changed, 39 insertions, 27 deletions
diff --git a/llvm/configure b/llvm/configure index 913c6e79fba..34eba159dab 100755 --- a/llvm/configure +++ b/llvm/configure @@ -843,6 +843,7 @@ ENABLE_PIC  TARGETS_TO_BUILD  LLVM_ENUM_TARGETS  LLVM_ENUM_ASM_PRINTERS +LLVM_ENUM_ASM_PARSERS  ENABLE_CBE_PRINTF_A  EXTRA_OPTIONS  BINUTILS_INCDIR @@ -5000,18 +5001,23 @@ _ACEOF  done  # Build the LLVM_TARGET and LLVM_ASM_PRINTER macro uses for -# Targets.def and AsmPrinters.def. +# Targets.def, AsmPrinters.def, and AsmParsers.def.  LLVM_ENUM_TARGETS=""  LLVM_ENUM_ASM_PRINTERS="" +LLVM_ENUM_ASM_PARSERS=""  for target_to_build in $TARGETS_TO_BUILD; do    LLVM_ENUM_TARGETS="LLVM_TARGET($target_to_build) $LLVM_ENUM_TARGETS"    if test -f ${srcdir}/lib/Target/${target_to_build}/AsmPrinter/Makefile ; then      LLVM_ENUM_ASM_PRINTERS="LLVM_ASM_PRINTER($target_to_build) $LLVM_ENUM_ASM_PRINTERS";    fi +  if test -f ${srcdir}/lib/Target/${target_to_build}/AsmParser/Makefile ; then +    LLVM_ENUM_ASM_PARSERS="LLVM_ASM_PARSER($target_to_build) $LLVM_ENUM_ASM_PARSERS"; +  fi  done +  # Check whether --enable-cbe-printf-a was given.  if test "${enable_cbe_printf_a+set}" = set; then    enableval=$enable_cbe_printf_a; @@ -10907,7 +10913,7 @@ else    lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2    lt_status=$lt_dlunknown    cat > conftest.$ac_ext <<EOF -#line 10905 "configure" +#line 10916 "configure"  #include "confdefs.h"  #if HAVE_DLFCN_H @@ -13051,7 +13057,7 @@ ia64-*-hpux*)    ;;  *-*-irix6*)    # Find out which ABI we are using. -  echo '#line 13049 "configure"' > conftest.$ac_ext +  echo '#line 13060 "configure"' > conftest.$ac_ext    if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5    (eval $ac_compile) 2>&5    ac_status=$? @@ -14769,11 +14775,11 @@ else     -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \     -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \     -e 's:$: $lt_compiler_flag:'` -   (eval echo "\"\$as_me:14767: $lt_compile\"" >&5) +   (eval echo "\"\$as_me:14778: $lt_compile\"" >&5)     (eval "$lt_compile" 2>conftest.err)     ac_status=$?     cat conftest.err >&5 -   echo "$as_me:14771: \$? = $ac_status" >&5 +   echo "$as_me:14782: \$? = $ac_status" >&5     if (exit $ac_status) && test -s "$ac_outfile"; then       # The compiler can only warn and ignore the option if not recognized       # So say no if there are warnings other than the usual output. @@ -15037,11 +15043,11 @@ else     -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \     -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \     -e 's:$: $lt_compiler_flag:'` -   (eval echo "\"\$as_me:15035: $lt_compile\"" >&5) +   (eval echo "\"\$as_me:15046: $lt_compile\"" >&5)     (eval "$lt_compile" 2>conftest.err)     ac_status=$?     cat conftest.err >&5 -   echo "$as_me:15039: \$? = $ac_status" >&5 +   echo "$as_me:15050: \$? = $ac_status" >&5     if (exit $ac_status) && test -s "$ac_outfile"; then       # The compiler can only warn and ignore the option if not recognized       # So say no if there are warnings other than the usual output. @@ -15141,11 +15147,11 @@ else     -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \     -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \     -e 's:$: $lt_compiler_flag:'` -   (eval echo "\"\$as_me:15139: $lt_compile\"" >&5) +   (eval echo "\"\$as_me:15150: $lt_compile\"" >&5)     (eval "$lt_compile" 2>out/conftest.err)     ac_status=$?     cat out/conftest.err >&5 -   echo "$as_me:15143: \$? = $ac_status" >&5 +   echo "$as_me:15154: \$? = $ac_status" >&5     if (exit $ac_status) && test -s out/conftest2.$ac_objext     then       # The compiler can only warn and ignore the option if not recognized @@ -17593,7 +17599,7 @@ else    lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2    lt_status=$lt_dlunknown    cat > conftest.$ac_ext <<EOF -#line 17591 "configure" +#line 17602 "configure"  #include "confdefs.h"  #if HAVE_DLFCN_H @@ -17693,7 +17699,7 @@ else    lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2    lt_status=$lt_dlunknown    cat > conftest.$ac_ext <<EOF -#line 17691 "configure" +#line 17702 "configure"  #include "confdefs.h"  #if HAVE_DLFCN_H @@ -20061,11 +20067,11 @@ else     -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \     -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \     -e 's:$: $lt_compiler_flag:'` -   (eval echo "\"\$as_me:20059: $lt_compile\"" >&5) +   (eval echo "\"\$as_me:20070: $lt_compile\"" >&5)     (eval "$lt_compile" 2>conftest.err)     ac_status=$?     cat conftest.err >&5 -   echo "$as_me:20063: \$? = $ac_status" >&5 +   echo "$as_me:20074: \$? = $ac_status" >&5     if (exit $ac_status) && test -s "$ac_outfile"; then       # The compiler can only warn and ignore the option if not recognized       # So say no if there are warnings other than the usual output. @@ -20165,11 +20171,11 @@ else     -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \     -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \     -e 's:$: $lt_compiler_flag:'` -   (eval echo "\"\$as_me:20163: $lt_compile\"" >&5) +   (eval echo "\"\$as_me:20174: $lt_compile\"" >&5)     (eval "$lt_compile" 2>out/conftest.err)     ac_status=$?     cat out/conftest.err >&5 -   echo "$as_me:20167: \$? = $ac_status" >&5 +   echo "$as_me:20178: \$? = $ac_status" >&5     if (exit $ac_status) && test -s out/conftest2.$ac_objext     then       # The compiler can only warn and ignore the option if not recognized @@ -21735,11 +21741,11 @@ else     -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \     -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \     -e 's:$: $lt_compiler_flag:'` -   (eval echo "\"\$as_me:21733: $lt_compile\"" >&5) +   (eval echo "\"\$as_me:21744: $lt_compile\"" >&5)     (eval "$lt_compile" 2>conftest.err)     ac_status=$?     cat conftest.err >&5 -   echo "$as_me:21737: \$? = $ac_status" >&5 +   echo "$as_me:21748: \$? = $ac_status" >&5     if (exit $ac_status) && test -s "$ac_outfile"; then       # The compiler can only warn and ignore the option if not recognized       # So say no if there are warnings other than the usual output. @@ -21839,11 +21845,11 @@ else     -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \     -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \     -e 's:$: $lt_compiler_flag:'` -   (eval echo "\"\$as_me:21837: $lt_compile\"" >&5) +   (eval echo "\"\$as_me:21848: $lt_compile\"" >&5)     (eval "$lt_compile" 2>out/conftest.err)     ac_status=$?     cat out/conftest.err >&5 -   echo "$as_me:21841: \$? = $ac_status" >&5 +   echo "$as_me:21852: \$? = $ac_status" >&5     if (exit $ac_status) && test -s out/conftest2.$ac_objext     then       # The compiler can only warn and ignore the option if not recognized @@ -24074,11 +24080,11 @@ else     -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \     -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \     -e 's:$: $lt_compiler_flag:'` -   (eval echo "\"\$as_me:24072: $lt_compile\"" >&5) +   (eval echo "\"\$as_me:24083: $lt_compile\"" >&5)     (eval "$lt_compile" 2>conftest.err)     ac_status=$?     cat conftest.err >&5 -   echo "$as_me:24076: \$? = $ac_status" >&5 +   echo "$as_me:24087: \$? = $ac_status" >&5     if (exit $ac_status) && test -s "$ac_outfile"; then       # The compiler can only warn and ignore the option if not recognized       # So say no if there are warnings other than the usual output. @@ -24342,11 +24348,11 @@ else     -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \     -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \     -e 's:$: $lt_compiler_flag:'` -   (eval echo "\"\$as_me:24340: $lt_compile\"" >&5) +   (eval echo "\"\$as_me:24351: $lt_compile\"" >&5)     (eval "$lt_compile" 2>conftest.err)     ac_status=$?     cat conftest.err >&5 -   echo "$as_me:24344: \$? = $ac_status" >&5 +   echo "$as_me:24355: \$? = $ac_status" >&5     if (exit $ac_status) && test -s "$ac_outfile"; then       # The compiler can only warn and ignore the option if not recognized       # So say no if there are warnings other than the usual output. @@ -24446,11 +24452,11 @@ else     -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \     -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \     -e 's:$: $lt_compiler_flag:'` -   (eval echo "\"\$as_me:24444: $lt_compile\"" >&5) +   (eval echo "\"\$as_me:24455: $lt_compile\"" >&5)     (eval "$lt_compile" 2>out/conftest.err)     ac_status=$?     cat out/conftest.err >&5 -   echo "$as_me:24448: \$? = $ac_status" >&5 +   echo "$as_me:24459: \$? = $ac_status" >&5     if (exit $ac_status) && test -s out/conftest2.$ac_objext     then       # The compiler can only warn and ignore the option if not recognized @@ -27358,6 +27364,8 @@ fi  { echo "$as_me:$LINENO: result: ok" >&5  echo "${ECHO_T}ok" >&6; } + +  { echo "$as_me:$LINENO: checking for sin in -lm" >&5  echo $ECHO_N "checking for sin in -lm... $ECHO_C" >&6; }  if test "${ac_cv_lib_m_sin+set}" = set; then @@ -35229,6 +35237,8 @@ ac_config_files="$ac_config_files include/llvm/Config/Targets.def"  ac_config_files="$ac_config_files include/llvm/Config/AsmPrinters.def" +ac_config_files="$ac_config_files include/llvm/Config/AsmParsers.def" +  ac_config_headers="$ac_config_headers include/llvm/Support/DataTypes.h"  ac_config_headers="$ac_config_headers include/llvm/ADT/iterator.h" @@ -35857,6 +35867,7 @@ do      "include/llvm/Config/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/llvm/Config/config.h" ;;      "include/llvm/Config/Targets.def") CONFIG_FILES="$CONFIG_FILES include/llvm/Config/Targets.def" ;;      "include/llvm/Config/AsmPrinters.def") CONFIG_FILES="$CONFIG_FILES include/llvm/Config/AsmPrinters.def" ;; +    "include/llvm/Config/AsmParsers.def") CONFIG_FILES="$CONFIG_FILES include/llvm/Config/AsmParsers.def" ;;      "include/llvm/Support/DataTypes.h") CONFIG_HEADERS="$CONFIG_HEADERS include/llvm/Support/DataTypes.h" ;;      "include/llvm/ADT/iterator.h") CONFIG_HEADERS="$CONFIG_HEADERS include/llvm/ADT/iterator.h" ;;      "Makefile.config") CONFIG_FILES="$CONFIG_FILES Makefile.config" ;; @@ -36027,6 +36038,7 @@ ENABLE_PIC!$ENABLE_PIC$ac_delim  TARGETS_TO_BUILD!$TARGETS_TO_BUILD$ac_delim  LLVM_ENUM_TARGETS!$LLVM_ENUM_TARGETS$ac_delim  LLVM_ENUM_ASM_PRINTERS!$LLVM_ENUM_ASM_PRINTERS$ac_delim +LLVM_ENUM_ASM_PARSERS!$LLVM_ENUM_ASM_PARSERS$ac_delim  ENABLE_CBE_PRINTF_A!$ENABLE_CBE_PRINTF_A$ac_delim  EXTRA_OPTIONS!$EXTRA_OPTIONS$ac_delim  BINUTILS_INCDIR!$BINUTILS_INCDIR$ac_delim @@ -36036,7 +36048,6 @@ CXX!$CXX$ac_delim  CXXFLAGS!$CXXFLAGS$ac_delim  ac_ct_CXX!$ac_ct_CXX$ac_delim  NM!$NM$ac_delim -ifGNUmake!$ifGNUmake$ac_delim  _ACEOF    if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then @@ -36078,6 +36089,7 @@ _ACEOF  ac_delim='%!_!# '  for ac_last_try in false false false false false :; do    cat >conf$$subs.sed <<_ACEOF +ifGNUmake!$ifGNUmake$ac_delim  LN_S!$LN_S$ac_delim  CMP!$CMP$ac_delim  CP!$CP$ac_delim @@ -36168,7 +36180,7 @@ LIBOBJS!$LIBOBJS$ac_delim  LTLIBOBJS!$LTLIBOBJS$ac_delim  _ACEOF -  if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 88; then +  if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 89; then      break    elif $ac_last_try; then      { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5  | 

