diff options
author | Gregory P. Smith <greg@mad-scientist.com> | 2009-11-01 21:02:52 +0000 |
---|---|---|
committer | Gregory P. Smith <greg@mad-scientist.com> | 2009-11-01 21:02:52 +0000 |
commit | ec3b8bd3a9a328290c80b3f850f94700f826fb05 (patch) | |
tree | cebdf0e62dd73530bc51b2acfed22f70e4b21ff6 /configure.in | |
parent | Fix exception handling in itertools.izip_longest(). (diff) | |
download | cpython-ec3b8bd3a9a328290c80b3f850f94700f826fb05.tar.gz cpython-ec3b8bd3a9a328290c80b3f850f94700f826fb05.tar.bz2 cpython-ec3b8bd3a9a328290c80b3f850f94700f826fb05.zip |
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 01e26a08345..fe6ab50cd03 100644 --- a/configure.in +++ b/configure.in @@ -918,9 +918,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) @@ -1067,10 +1066,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 @@ -1089,10 +1088,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 |