[committed] Convert zlib to autoconf 2.5x

Daniel Jacobowitz drow@false.org
Fri Apr 9 20:06:00 GMT 2004


On Fri, Apr 09, 2004 at 06:17:48AM -0400, Nathanael Nerode wrote:
> +sinclude(../config/no-executables.m4)

> +# Make sure we don't test executables when making cross-tools.
> +GCC_NO_EXECUTABLES

This is not necessary:

(A) We're using autoconf 2.59 now; no-executables.m4 could be removed
and we could use AC_NO_EXECUTABLES again.

(B)  This is for the case where we can not link target applications. 
By the time we're building most target libraries we are assumed to have
a target C library.  The exceptions are libstdc++ and libiberty,
because they are both needed by winsup, so we can't build the C library
for cygwin without being able to configure both libstdc++ and
libiberty first.  Anything that depends on $(ALL_GCC_C) should not need
to configure without a C library.

[Besides, we'll build fastjar right after zlib.  If we couldn't link
executables in zlib's configure tests, then we won't be able to link
fastjar either.]


-- 
Daniel Jacobowitz
MontaVista Software                         Debian GNU/Linux Developer



More information about the Gcc-patches mailing list