Merge changes from GCC for the config/ directory
[deliverable/binutils-gdb.git] / config / no-executables.m4
index 90616245ef92bfe2645382d9a78060bf90bdab3f..6842f84fba3268bc20d4f1860f67ea9c4f6947b2 100644 (file)
@@ -25,7 +25,9 @@ AC_BEFORE([$0], [_AC_COMPILER_EXEEXT])
 AC_BEFORE([$0], [AC_LINK_IFELSE])
 
 m4_define([_AC_COMPILER_EXEEXT],
-[AC_LANG_CONFTEST([AC_LANG_PROGRAM()])
+[AC_LANG_CONFTEST([AC_LANG_PROGRAM(
+                    [#include <stdio.h>],
+                    [printf ("hello world\n");])])
 # FIXME: Cleanup?
 AS_IF([AC_TRY_EVAL(ac_link)], [gcc_no_link=no], [gcc_no_link=yes])
 if test x$gcc_no_link = xyes; then
This page took 0.022915 seconds and 4 git commands to generate.