[toplevel] GCC_NO_EXECUTABLES
Andreas Schwab
schwab@suse.de
Sun Dec 12 18:56:00 GMT 2004
Daniel Jacobowitz <drow@false.org> writes:
> The problem probably arises because we AC_REQUIRE AC_FUNC_MMAP from
> libiberty_AC_FUNC_STRNCMP, which is used unconditionally. If
> GCC_NO_EXECUTABLES is in effect, we must suppress this somehow. I
> think that doing it in libiberty's configure didn't work because of the
> semantics of AC_REQUIRE.
Setting the cache variable is already enough to prevent the tests in
AC_FUNC_MMAP from being executed.
2004-12-12 Andreas Schwab <schwab@suse.de>
* no-executables.m4: Remove conditional around expansion of
AC_FUNC_MMAP.
--- config/no-executables.m4.~1.1.~ 2003-08-27 21:14:13.000000000 +0200
+++ config/no-executables.m4 2004-12-12 19:46:15.840855115 +0100
@@ -53,9 +53,7 @@ if test x$gcc_no_link = xyes; then
ac_cv_func_mmap_fixed_mapped=no
fi
fi
-if test "x${ac_cv_func_mmap_fixed_mapped+set}" != xset; then
- m4_defn([AC_FUNC_MMAP])
-fi)
+m4_defn([AC_FUNC_MMAP]))
m4_divert_pop()dnl
])# GCC_NO_EXECUTABLES
Andreas.
--
Andreas Schwab, SuSE Labs, schwab@suse.de
SuSE Linux Products GmbH, MaxfeldstraÃe 5, 90409 Nürnberg, Germany
Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."
More information about the Fortran
mailing list