* tls.m4 (GCC_CHECK_TLS): Rename have_tls to gcc_cv_have_tls.
[deliverable/binutils-gdb.git] / config / no-executables.m4
index 54e5a024288106fcf4a3210cf4799e6f10884841..c4d0b70c3755eb8da081b47ec14c10360f1a3649 100644 (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])
This page took 0.027079 seconds and 4 git commands to generate.