Patch: zlib -vs- target compiles

Tom Tromey
Mon Oct 4 15:08:00 GMT 1999

I'm committing the appended patch.  It changes zlib to correctly build
when the compiler can't build an executable.  This happens when
cross-compiling zlib in some situations.

1999-10-04  Tom Tromey  <>

	* configure: Rebuilt.
	* Call AC_EXEEXT after LIB_AC_PROG_CC, but don't
	actually let AC_EXEEXT run.


RCS file: /cvs/java/libgcj/zlib/,v
retrieving revision 1.4
diff -u -r1.4
---	1999/08/10 05:30:10	1.4
+++	1999/10/04 22:07:31
@@ -5,7 +5,6 @@
 AM_INIT_AUTOMAKE(zlib, 1.1.3)
@@ -43,6 +42,16 @@
 [  --with-system-zlib      use installed libz])
+# We need AC_EXEEXT to keep automake happy in cygnus mode.  However,
+# at least currently, we never actually build a program, so we never
+# need to use $(EXEEXT).  Moreover, the test for EXEEXT normally
+# fails, because we are probably configuring with a cross compiler
+# which cant create executables.  So we include AC_EXEEXT to keep
+# automake happy, but we dont execute it, since we dont care about
+# the result.
+if false; then
 if test -z "$with_target_subdir" || test "$with_target_subdir" = "."; then

More information about the Java-patches mailing list