This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[Patch]: use multi.m4 in zlib
- From: howarth at bromo dot msbb dot uc dot edu (Jack Howarth)
- To: gcc-patches at gcc dot gnu dot org
- Cc: geoffk at apple dot com, mrs at apple dot com
- Date: Sun, 5 Nov 2006 14:54:06 -0500 (EST)
- Subject: [Patch]: use multi.m4 in zlib
The attached patch allows the multi.m4 added in r117741
to be used in regenerating the autoconf files for zlib.
This solves the build problems with multilib on G4s for
the zlib subdirectory. For trunk and for gcc 4.2 branch
the following regeneration steps were required...
cd libgfortran
aclocal -I ../config
autoconf -I ../config
automake -a
cd ..
cd zlib
aclocal -I ../config
autoconf -I ../config
automake -a
...which, with the patch below, will allow multilib builds
of the language set c, c++, objc and fortran on a G4. Okay
for trunk and 4.2?
Jack
2006-11-05 Jack Howarth <howarth@bromo.med.uc.edu>
* zlib/Makefile.am: Add ACLOCAL_AMFLAGS to use multi.m4.
Index: zlib/Makefile.am
===================================================================
--- zlib/Makefile.am (revision 118510)
+++ zlib/Makefile.am (working copy)
@@ -2,6 +2,8 @@
AUTOMAKE_OPTIONS = 1.8 cygnus
+ACLOCAL_AMFLAGS = -I ../config
+
ZLIB_SOURCES = adler32.c compress.c crc32.c crc32.h deflate.c \
deflate.h gzio.c infback.c inffast.c inffast.h inffixed.h inflate.c \
inflate.h inftrees.c inftrees.h trees.c trees.h uncompr.c zconf.h \