comparison config/no-executables.m4 @ 145:1830386684a0

gcc-9.2.0
author anatofuz
date Thu, 13 Feb 2020 11:34:05 +0900
parents 77e2b8dfacca
children
comparison
equal deleted inserted replaced
131:84e7813d76e9 145:1830386684a0
23 23
24 AC_BEFORE([$0], [_AC_COMPILER_EXEEXT]) 24 AC_BEFORE([$0], [_AC_COMPILER_EXEEXT])
25 AC_BEFORE([$0], [AC_LINK_IFELSE]) 25 AC_BEFORE([$0], [AC_LINK_IFELSE])
26 26
27 m4_define([_AC_COMPILER_EXEEXT], 27 m4_define([_AC_COMPILER_EXEEXT],
28 [AC_LANG_CONFTEST([AC_LANG_PROGRAM()]) 28 [AC_LANG_CONFTEST([AC_LANG_PROGRAM(
29 [#include <stdio.h>],
30 [printf ("hello world\n");])])
29 # FIXME: Cleanup? 31 # FIXME: Cleanup?
30 AS_IF([AC_TRY_EVAL(ac_link)], [gcc_no_link=no], [gcc_no_link=yes]) 32 AS_IF([AC_TRY_EVAL(ac_link)], [gcc_no_link=no], [gcc_no_link=yes])
31 if test x$gcc_no_link = xyes; then 33 if test x$gcc_no_link = xyes; then
32 # Setting cross_compile will disable run tests; it will 34 # Setting cross_compile will disable run tests; it will
33 # also disable AC_CHECK_FILE but that's generally 35 # also disable AC_CHECK_FILE but that's generally