diff options
Diffstat (limited to 'llvm')
| -rw-r--r-- | llvm/autoconf/configure.ac | 7 | ||||
| -rwxr-xr-x | llvm/configure | 55 | 
2 files changed, 38 insertions, 24 deletions
diff --git a/llvm/autoconf/configure.ac b/llvm/autoconf/configure.ac index c4aad36553f..49c1c875940 100644 --- a/llvm/autoconf/configure.ac +++ b/llvm/autoconf/configure.ac @@ -165,6 +165,11 @@ AC_CACHE_CHECK([type of operating system we're going to host on],      llvm_cv_no_link_all_option="-Wl,-z,defaultextract"      llvm_cv_os_type="SunOS"      llvm_cv_platform_type="Unix" ;; +  *-*-auroraux*) +    llvm_cv_link_all_option="-Wl,-z,allextract" +    llvm_cv_link_all_option="-Wl,-z,defaultextract" +    llvm_cv_os_type="AuroraUX" +    llvm_cv_platform_type="Unix" ;;    *-*-win32*)      llvm_cv_link_all_option="-Wl,--whole-archive"      llvm_cv_no_link_all_option="-Wl,--no-whole-archive" @@ -224,6 +229,8 @@ AC_CACHE_CHECK([type of operating system we're going to target],      llvm_cv_target_os_type="Linux" ;;    *-*-solaris*)      llvm_cv_target_os_type="SunOS" ;; +  *-*-auroraux*) +    llvm_cv_target_os_type="AuroraUX" ;;    *-*-win32*)      llvm_cv_target_os_type="Win32" ;;    *-*-mingw*) diff --git a/llvm/configure b/llvm/configure index 29537cc4791..6d0aef781e1 100755 --- a/llvm/configure +++ b/llvm/configure @@ -2338,6 +2338,11 @@ else      llvm_cv_no_link_all_option="-Wl,-z,defaultextract"      llvm_cv_os_type="SunOS"      llvm_cv_platform_type="Unix" ;; +  *-*-auroraux*) +    llvm_cv_link_all_option="-Wl,-z,allextract" +    llvm_cv_link_all_option="-Wl,-z,defaultextract" +    llvm_cv_os_type="AuroraUX" +    llvm_cv_platform_type="Unix" ;;    *-*-win32*)      llvm_cv_link_all_option="-Wl,--whole-archive"      llvm_cv_no_link_all_option="-Wl,--no-whole-archive" @@ -2403,6 +2408,8 @@ else      llvm_cv_target_os_type="Linux" ;;    *-*-solaris*)      llvm_cv_target_os_type="SunOS" ;; +  *-*-auroraux*) +    llvm_cv_target_os_type="AuroraUX" ;;    *-*-win32*)      llvm_cv_target_os_type="Win32" ;;    *-*-mingw*) @@ -11001,7 +11008,7 @@ else    lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2    lt_status=$lt_dlunknown    cat > conftest.$ac_ext <<EOF -#line 11004 "configure" +#line 11011 "configure"  #include "confdefs.h"  #if HAVE_DLFCN_H @@ -13145,7 +13152,7 @@ ia64-*-hpux*)    ;;  *-*-irix6*)    # Find out which ABI we are using. -  echo '#line 13148 "configure"' > conftest.$ac_ext +  echo '#line 13155 "configure"' > conftest.$ac_ext    if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5    (eval $ac_compile) 2>&5    ac_status=$? @@ -14863,11 +14870,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:14866: $lt_compile\"" >&5) +   (eval echo "\"\$as_me:14873: $lt_compile\"" >&5)     (eval "$lt_compile" 2>conftest.err)     ac_status=$?     cat conftest.err >&5 -   echo "$as_me:14870: \$? = $ac_status" >&5 +   echo "$as_me:14877: \$? = $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. @@ -15131,11 +15138,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:15134: $lt_compile\"" >&5) +   (eval echo "\"\$as_me:15141: $lt_compile\"" >&5)     (eval "$lt_compile" 2>conftest.err)     ac_status=$?     cat conftest.err >&5 -   echo "$as_me:15138: \$? = $ac_status" >&5 +   echo "$as_me:15145: \$? = $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. @@ -15235,11 +15242,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:15238: $lt_compile\"" >&5) +   (eval echo "\"\$as_me:15245: $lt_compile\"" >&5)     (eval "$lt_compile" 2>out/conftest.err)     ac_status=$?     cat out/conftest.err >&5 -   echo "$as_me:15242: \$? = $ac_status" >&5 +   echo "$as_me:15249: \$? = $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 @@ -17687,7 +17694,7 @@ else    lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2    lt_status=$lt_dlunknown    cat > conftest.$ac_ext <<EOF -#line 17690 "configure" +#line 17697 "configure"  #include "confdefs.h"  #if HAVE_DLFCN_H @@ -17787,7 +17794,7 @@ else    lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2    lt_status=$lt_dlunknown    cat > conftest.$ac_ext <<EOF -#line 17790 "configure" +#line 17797 "configure"  #include "confdefs.h"  #if HAVE_DLFCN_H @@ -20155,11 +20162,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:20158: $lt_compile\"" >&5) +   (eval echo "\"\$as_me:20165: $lt_compile\"" >&5)     (eval "$lt_compile" 2>conftest.err)     ac_status=$?     cat conftest.err >&5 -   echo "$as_me:20162: \$? = $ac_status" >&5 +   echo "$as_me:20169: \$? = $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. @@ -20259,11 +20266,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:20262: $lt_compile\"" >&5) +   (eval echo "\"\$as_me:20269: $lt_compile\"" >&5)     (eval "$lt_compile" 2>out/conftest.err)     ac_status=$?     cat out/conftest.err >&5 -   echo "$as_me:20266: \$? = $ac_status" >&5 +   echo "$as_me:20273: \$? = $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 @@ -21829,11 +21836,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:21832: $lt_compile\"" >&5) +   (eval echo "\"\$as_me:21839: $lt_compile\"" >&5)     (eval "$lt_compile" 2>conftest.err)     ac_status=$?     cat conftest.err >&5 -   echo "$as_me:21836: \$? = $ac_status" >&5 +   echo "$as_me:21843: \$? = $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. @@ -21933,11 +21940,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:21936: $lt_compile\"" >&5) +   (eval echo "\"\$as_me:21943: $lt_compile\"" >&5)     (eval "$lt_compile" 2>out/conftest.err)     ac_status=$?     cat out/conftest.err >&5 -   echo "$as_me:21940: \$? = $ac_status" >&5 +   echo "$as_me:21947: \$? = $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 @@ -24168,11 +24175,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:24171: $lt_compile\"" >&5) +   (eval echo "\"\$as_me:24178: $lt_compile\"" >&5)     (eval "$lt_compile" 2>conftest.err)     ac_status=$?     cat conftest.err >&5 -   echo "$as_me:24175: \$? = $ac_status" >&5 +   echo "$as_me:24182: \$? = $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. @@ -24436,11 +24443,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:24439: $lt_compile\"" >&5) +   (eval echo "\"\$as_me:24446: $lt_compile\"" >&5)     (eval "$lt_compile" 2>conftest.err)     ac_status=$?     cat conftest.err >&5 -   echo "$as_me:24443: \$? = $ac_status" >&5 +   echo "$as_me:24450: \$? = $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. @@ -24540,11 +24547,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:24543: $lt_compile\"" >&5) +   (eval echo "\"\$as_me:24550: $lt_compile\"" >&5)     (eval "$lt_compile" 2>out/conftest.err)     ac_status=$?     cat out/conftest.err >&5 -   echo "$as_me:24547: \$? = $ac_status" >&5 +   echo "$as_me:24554: \$? = $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  | 

