diff options
author | Gregory P. Smith <greg@mad-scientist.com> | 2009-11-01 21:09:10 (GMT) |
---|---|---|
committer | Gregory P. Smith <greg@mad-scientist.com> | 2009-11-01 21:09:10 (GMT) |
commit | 4e3ed01648d0ca1293c705bacdfee4f7d26ac08e (patch) | |
tree | 276be6b5aad56fa8bf4fd92bd81ca043e03065a3 /configure.in | |
parent | fc438518a0a3b471a187f0473b62a0dcaefd539e (diff) | |
download | cpython-4e3ed01648d0ca1293c705bacdfee4f7d26ac08e.zip cpython-4e3ed01648d0ca1293c705bacdfee4f7d26ac08e.tar.gz cpython-4e3ed01648d0ca1293c705bacdfee4f7d26ac08e.tar.bz2 |
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.
........
Diffstat (limited to 'configure.in')
-rw-r--r-- | configure.in | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/configure.in b/configure.in index 6db50b9..2e8da64 100644 --- a/configure.in +++ b/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 |