* no-executables.m4 (GCC_TRY_COMPILE_OR_LINK): New function.

This commit is contained in:
Kazu Hirata 2007-10-03 14:35:31 +00:00
parent 56398dd5d7
commit 26c28af8b2
2 changed files with 22 additions and 0 deletions

View File

@ -1,3 +1,17 @@
2007-10-03 Richard Sandiford <richard@codesourcery.com>
* no-executables.m4 (GCC_TRY_COMPILE_OR_LINK): New function.
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.
2007-09-21 Richard Sandiford <rsandifo@nildram.co.uk>
* mt-sde (CFLAGS_FOR_TARGET): Replace -fno-optimize-sibling-calls

View File

@ -59,3 +59,11 @@ 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])