diff options
author | Martin v. Löwis <martin@v.loewis.de> | 2010-10-17 19:36:54 (GMT) |
---|---|---|
committer | Martin v. Löwis <martin@v.loewis.de> | 2010-10-17 19:36:54 (GMT) |
commit | c980ffde14329c08f54db43d18224e2d3b0668fa (patch) | |
tree | 55b7e05cc54a0d4d7c288e4414273e82827b9dfb /configure.in | |
parent | 6ffbee77dc1a29d828d936a2b9f47bd6da102aff (diff) | |
download | cpython-c980ffde14329c08f54db43d18224e2d3b0668fa.zip cpython-c980ffde14329c08f54db43d18224e2d3b0668fa.tar.gz cpython-c980ffde14329c08f54db43d18224e2d3b0668fa.tar.bz2 |
Drop OPT:Olimit, as it confuses SunPRO (and other compilers).
Diffstat (limited to 'configure.in')
-rw-r--r-- | configure.in | 45 |
1 files changed, 0 insertions, 45 deletions
diff --git a/configure.in b/configure.in index a6cedc3..9585b09 100644 --- a/configure.in +++ b/configure.in @@ -1092,51 +1092,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 - -AC_MSG_CHECKING(whether $CC accepts -OPT:Olimit=0) -AC_CACHE_VAL(ac_cv_opt_olimit_ok, -[ac_save_cc="$CC" -CC="$CC -OPT:Olimit=0" -AC_COMPILE_IFELSE( - [AC_LANG_PROGRAM([[]], [[]])], - [ac_cv_opt_olimit_ok=yes], - [ac_cv_opt_olimit_ok=no] - ) -CC="$ac_save_cc"]) -AC_MSG_RESULT($ac_cv_opt_olimit_ok) -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 - AC_MSG_CHECKING(whether $CC accepts -Olimit 1500) - AC_CACHE_VAL(ac_cv_olimit_ok, - [ac_save_cc="$CC" - CC="$CC -Olimit 1500" - AC_COMPILE_IFELSE( - [AC_LANG_PROGRAM([[]], [[]])], - [ac_cv_olimit_ok=yes], - [ac_cv_olimit_ok=no] - ) - CC="$ac_save_cc"]) - AC_MSG_RESULT($ac_cv_olimit_ok) - 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 |