This is the mail archive of the cygwin-apps@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

cygwin gcc-3.2 patch for libjava/acinclude.m4


Installing libjava fails on the cygwin-mingw-gcc-3_2-branch because
EXEEXT is not set in the libjava Makefile.  This was fixed on the
mainline with this patch.

OK to apply?

2002-08-20  David Billinghurst <David.Billinghurst@riotinto.com>

	Backport of mainline change of 2002-05-05
	* acinclude.m4: Run AC_EXEEXT.
	* aclocal.m4, configure: Regenerate.

RCS file: /cvs/gcc/gcc/libjava/acinclude.m4,v
retrieving revision 1.18.2.1.2.1
diff -u -r1.18.2.1.2.1 acinclude.m4
--- acinclude.m4        8 Jul 2002 05:22:33 -0000       1.18.2.1.2.1
+++ acinclude.m4        20 Aug 2002 12:36:42 -0000
@@ -144,20 +144,7 @@

 AM_MAINTAINER_MODE

-# 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 don't execute it, since we don't care about
-# the result.
-if false; then
-  # autoconf 2.50 runs AC_EXEEXT by default, and the macro expands
-  # to nothing, so nothing would remain between `then' and `fi' if it
-  # were not for the `:' below.
-  :
-  AC_EXEEXT
-fi
+AC_EXEEXT

 # configure.host sets the following important variables
 #      libgcj_cflags    - host specific C compiler flags


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]