Merged revisions 76028 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk ........ r76028 | gregory.p.smith | 2009-11-01 13:02:52 -0800 (Sun, 01 Nov 2009) | 2 lines issue1115: convert some AC_TRY_RUNs into AC_TRY_COMPILEs. ........
This commit is contained in:
parent
fc438518a0
commit
4e3ed01648
11
configure.in
11
configure.in
|
@ -856,9 +856,8 @@ yes)
|
|||
ac_save_cc="$CC"
|
||||
CC="$CC -fno-strict-aliasing"
|
||||
AC_CACHE_VAL(ac_cv_no_strict_aliasing_ok,
|
||||
AC_TRY_RUN([int main() { return 0; }],
|
||||
AC_TRY_COMPILE([],[int main() { return 0; }],
|
||||
ac_cv_no_strict_aliasing_ok=yes,
|
||||
ac_cv_no_strict_aliasing_ok=no,
|
||||
ac_cv_no_strict_aliasing_ok=no))
|
||||
CC="$ac_save_cc"
|
||||
AC_MSG_RESULT($ac_cv_no_strict_aliasing_ok)
|
||||
|
@ -1005,10 +1004,10 @@ 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_TRY_RUN([int main() { return 0; }],
|
||||
AC_TRY_COMPILE([],[int main() { return 0; }],
|
||||
ac_cv_opt_olimit_ok=yes,
|
||||
ac_cv_opt_olimit_ok=no,
|
||||
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
|
||||
|
@ -1027,10 +1026,10 @@ else
|
|||
AC_CACHE_VAL(ac_cv_olimit_ok,
|
||||
[ac_save_cc="$CC"
|
||||
CC="$CC -Olimit 1500"
|
||||
AC_TRY_RUN([int main() { return 0; }],
|
||||
AC_TRY_COMPILE([],[int main() { return 0; }],
|
||||
ac_cv_olimit_ok=yes,
|
||||
ac_cv_olimit_ok=no,
|
||||
ac_cv_olimit_ok=no)
|
||||
)
|
||||
CC="$ac_save_cc"])
|
||||
AC_MSG_RESULT($ac_cv_olimit_ok)
|
||||
if test $ac_cv_olimit_ok = yes; then
|
||||
|
|
Loading…
Reference in New Issue