Autoconf problem in classpath-0.99
Guillermo Rodriguez Garcia <[email protected]> Tue, 22 Dec 2015 16:18:58 +0100
| Newsgroups | gmane.comp.java.classpath.devel |
|---|---|
| Message-ID | <CABDcavZS4dnXzriZGfRn5uEjpQv6WHnSO-sFPAwRe+Vt8SUqRw@mail.gmail.com> |
Hi all, There seems to be some problem with the autoconf macros in classpath-0.99 which was not present in 0.98. Looks like passing --disable-tools to configure also disables the javac detection code, resulting in the following error: === $ ./configure --disable-tools [...] checking whether javac supports -J... ./configure: line 24943: -J-Xmx768M: command not found no configure: error: conditional "GCJ_JAVAC" was never defined. Usually this means the macro was only invoked conditionally === Note that this didn't happen in 0.98 (just re-checked) so it is probably due to autoconf changes between 0.98 and 0.99 Quick workaround (not a proper fix) for systems using javac: $ JAVAC=javac GCJ_JAVAC_TRUE='\#' ./configure --disable-tools Best regards, Guillermo Rodriguez Garcia [email protected]