[Bug libgcj/24051] [4.1 Regression]: libjava failed to configure

mckinlay at redhat dot com gcc-bugzilla@gcc.gnu.org
Mon Sep 26 22:37:00 GMT 2005


------- 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



More information about the Gcc-bugs mailing list