Kaydet (Commit) 201afe56 authored tarafından Guido van Rossum's avatar Guido van Rossum

Add -Olimit 1500 to OPT if CC supports it.

üst 2b4d2800
This diff is collapsed.
......@@ -111,6 +111,19 @@ fi
AC_AIX
AC_MINIX
AC_MSG_CHECKING(whether $CC accepts -Olimit 1500)
AC_CACHE_VAL(ac_cv_olimit_ok,
[ac_save_cc="$CC"
CC="$CC -Olimit 1500"
AC_TRY_COMPILE([], [;],
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
OPT="$OPT -Olimit 1500"
fi
# check for ANSI or K&R ("traditional") preprocessor
AC_MSG_CHECKING(for C preprocessor type)
AC_TRY_COMPILE([
......
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