diff options
author | Martin v. Löwis <martin@v.loewis.de> | 2010-10-17 19:36:54 +0000 |
---|---|---|
committer | Martin v. Löwis <martin@v.loewis.de> | 2010-10-17 19:36:54 +0000 |
commit | befafaa158df16650970ba268d8bb2206cf9f5b6 (patch) | |
tree | c443f9d523b9c08563694c5a44a8007f019cf929 /configure | |
parent | e7daad29a290f3ece2d097fb5ea30abb757ae136 (diff) | |
download | cpython-befafaa158df16650970ba268d8bb2206cf9f5b6.tar.gz |
Drop OPT:Olimit, as it confuses SunPRO (and other compilers).
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 85 |
1 files changed, 1 insertions, 84 deletions
@@ -1,5 +1,5 @@ #! /bin/sh -# From configure.in Revision: 85554 . +# From configure.in Revision: 85559 . # Guess values for system-dependent variables and create Makefiles. # Generated by GNU Autoconf 2.67 for python 3.2. # @@ -5596,89 +5596,6 @@ then BASECFLAGS="$BASECFLAGS $ac_arch_flags" fi -# disable check for icc since it seems to pass, but generates a warning -if test "$CC" = icc -then - ac_cv_opt_olimit_ok=no -fi - -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -OPT:Olimit=0" >&5 -$as_echo_n "checking whether $CC accepts -OPT:Olimit=0... " >&6; } -if test "${ac_cv_opt_olimit_ok+set}" = set; then : - $as_echo_n "(cached) " >&6 -else - ac_save_cc="$CC" -CC="$CC -OPT:Olimit=0" -cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -int -main () -{ - - ; - return 0; -} -_ACEOF -if ac_fn_c_try_compile "$LINENO"; then : - ac_cv_opt_olimit_ok=yes -else - ac_cv_opt_olimit_ok=no - -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -CC="$ac_save_cc" -fi - -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_opt_olimit_ok" >&5 -$as_echo "$ac_cv_opt_olimit_ok" >&6; } -if test $ac_cv_opt_olimit_ok = yes; then - case $ac_sys_system in - # XXX is this branch needed? On MacOSX 10.2.2 the result of the - # olimit_ok test is "no". Is it "yes" in some other Darwin-esque - # environment? - Darwin*) - ;; - *) - BASECFLAGS="$BASECFLAGS -OPT:Olimit=0" - ;; - esac -else - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -Olimit 1500" >&5 -$as_echo_n "checking whether $CC accepts -Olimit 1500... " >&6; } - if test "${ac_cv_olimit_ok+set}" = set; then : - $as_echo_n "(cached) " >&6 -else - ac_save_cc="$CC" - CC="$CC -Olimit 1500" - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -int -main () -{ - - ; - return 0; -} -_ACEOF -if ac_fn_c_try_compile "$LINENO"; then : - ac_cv_olimit_ok=yes -else - ac_cv_olimit_ok=no - -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - CC="$ac_save_cc" -fi - - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_olimit_ok" >&5 -$as_echo "$ac_cv_olimit_ok" >&6; } - if test $ac_cv_olimit_ok = yes; then - BASECFLAGS="$BASECFLAGS -Olimit 1500" - fi -fi - # Check whether GCC supports PyArg_ParseTuple format if test "$GCC" = "yes" then |