This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libgcj/24051] [4.1 Regression]: libjava failed to configure
- From: "mckinlay at redhat dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 26 Sep 2005 22:36:59 -0000
- Subject: [Bug libgcj/24051] [4.1 Regression]: libjava failed to configure
- References: <20050924233912.24051.hjl@lucon.org>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From mckinlay at redhat dot com 2005-09-26 22:36 -------
AC_PROG_CXX is, presumably, needed by classpath in order to build the Qt peers.
Although this is not the default configuration, it means we can't remove
AC_PROG_CXX.
The libjava configure gets around this issue using GCC_NO_EXECUTABLES, which
disables linking of configure tests where possible. One solution is to add
GCC_NO_EXECUTABLES to the classpath configure.
Unfortunatly this introduces a divergance from the upstream configure.ac. We
also need to butcher classpath's AC_CHECK_FUNCs because many of these do not
work with GCC_NO_EXECUTABLES. However, they are probably not needed anyway
because we do not build classpath's JNI code - only the AWT peers. Perhaps the
AC_CHECK_FUNCs can be made conditional so as to reduce divergance from upstream?
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24051