This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC 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]

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


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


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