Commit 8a8d8acc authored by Neal Norwitz's avatar Neal Norwitz

icc accepts -OPT... but generates a warning, so just disable the check

parent f595c854
#! /bin/sh #! /bin/sh
# From configure.in Revision: 41924 . # From configure.in Revision: 41925 .
# Guess values for system-dependent variables and create Makefiles. # Guess values for system-dependent variables and create Makefiles.
# Generated by GNU Autoconf 2.59 for python 2.5. # Generated by GNU Autoconf 2.59 for python 2.5.
# #
...@@ -3911,6 +3911,12 @@ then ...@@ -3911,6 +3911,12 @@ then
BASECFLAGS="$BASECFLAGS $ac_arch_flags" BASECFLAGS="$BASECFLAGS $ac_arch_flags"
fi 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
echo "$as_me:$LINENO: checking whether $CC accepts -OPT:Olimit=0" >&5 echo "$as_me:$LINENO: checking whether $CC accepts -OPT:Olimit=0" >&5
echo $ECHO_N "checking whether $CC accepts -OPT:Olimit=0... $ECHO_C" >&6 echo $ECHO_N "checking whether $CC accepts -OPT:Olimit=0... $ECHO_C" >&6
if test "${ac_cv_opt_olimit_ok+set}" = set; then if test "${ac_cv_opt_olimit_ok+set}" = set; then
......
...@@ -775,6 +775,12 @@ then ...@@ -775,6 +775,12 @@ then
BASECFLAGS="$BASECFLAGS $ac_arch_flags" BASECFLAGS="$BASECFLAGS $ac_arch_flags"
fi 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_MSG_CHECKING(whether $CC accepts -OPT:Olimit=0)
AC_CACHE_VAL(ac_cv_opt_olimit_ok, AC_CACHE_VAL(ac_cv_opt_olimit_ok,
[ac_save_cc="$CC" [ac_save_cc="$CC"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment