aboutsummaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorKazu Hirata <kazu@codesourcery.com>2007-10-03 00:25:22 +0000
committerKazu Hirata <kazu@gcc.gnu.org>2007-10-03 00:25:22 +0000
commit9e4e09166b61079a208265321af2bd0e0bfc8c6b (patch)
treeb6ff8d70e33b171c5e65a30aa20b792cd0cb3a13 /config
parentcfdf678473b716c7b14d2c408aa0a539ac62c93b (diff)
downloadgcc-9e4e09166b61079a208265321af2bd0e0bfc8c6b.zip
gcc-9e4e09166b61079a208265321af2bd0e0bfc8c6b.tar.gz
gcc-9e4e09166b61079a208265321af2bd0e0bfc8c6b.tar.bz2
revert: no-executables.m4 (GCC_TRY_COMPILE_OR_LINK): New function.
config/ Revert: 2007-10-02 Richard Sandiford <richard@codesourcery.com> * no-executables.m4 (GCC_TRY_COMPILE_OR_LINK): New function. libstdc++/ Revert: 2007-10-02 Richard Sandiford <richard@codesourcery.com> * acinclude.m4 (GLIBCXX_ENABLE_C99): Temporarily add -fno-exceptions to CXXFLAGS. Use GCC_TRY_COMPILE_OR_LINK. Make the tests assign results to volatile variables. * configure: Regenerate. From-SVN: r128972
Diffstat (limited to 'config')
-rw-r--r--config/ChangeLog6
-rw-r--r--config/no-executables.m48
2 files changed, 6 insertions, 8 deletions
diff --git a/config/ChangeLog b/config/ChangeLog
index 67763a2..089fc82 100644
--- a/config/ChangeLog
+++ b/config/ChangeLog
@@ -1,3 +1,9 @@
+2007-10-03 Kazu Hirata <kazu@codesourcery.com>
+
+ Revert:
+ 2007-10-02 Richard Sandiford <richard@codesourcery.com>
+ * no-executables.m4 (GCC_TRY_COMPILE_OR_LINK): New function.
+
2007-10-02 Richard Sandiford <richard@codesourcery.com>
* no-executables.m4 (GCC_TRY_COMPILE_OR_LINK): New function.
diff --git a/config/no-executables.m4 b/config/no-executables.m4
index c4d0b70..54e5a02 100644
--- a/config/no-executables.m4
+++ b/config/no-executables.m4
@@ -59,11 +59,3 @@ fi)
m4_divert_pop()dnl
])# GCC_NO_EXECUTABLES
-
-# Use the strongest available test out of AC_TRY_COMPILE and AC_TRY_LINK.
-AC_DEFUN([GCC_TRY_COMPILE_OR_LINK],
-[if test x$gcc_no_link = xyes; then
- AC_TRY_COMPILE([$1], [$2], [$3], [$4])
-else
- AC_TRY_LINK([$1], [$2], [$3], [$4])
-fi])