summaryrefslogtreecommitdiffstats
path: root/config/no-executables.m4
diff options
context:
space:
mode:
authorkazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4>2007-10-03 00:25:22 +0000
committerkazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4>2007-10-03 00:25:22 +0000
commit5e3b0b467c074cf9494678f5f62781fb59dfd148 (patch)
treeb6ff8d70e33b171c5e65a30aa20b792cd0cb3a13 /config/no-executables.m4
parentaada36f9d2b0408add9f25090e2ac15942cf46d9 (diff)
downloadppe42-gcc-5e3b0b467c074cf9494678f5f62781fb59dfd148.tar.gz
ppe42-gcc-5e3b0b467c074cf9494678f5f62781fb59dfd148.zip
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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@128972 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'config/no-executables.m4')
-rw-r--r--config/no-executables.m48
1 files changed, 0 insertions, 8 deletions
diff --git a/config/no-executables.m4 b/config/no-executables.m4
index c4d0b70c375..54e5a024288 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])
OpenPOWER on IntegriCloud