Re: Autoconf problem in classpath-0.99
Guillermo Rodriguez Garcia <[email protected]> Tue, 2 Feb 2016 16:44:32 +0100
| Newsgroups | gmane.comp.java.classpath.devel |
|---|---|
| Message-ID | <CABDcavYoe-Jixag6QrzOLoBKkn4zyUeeCNb5_yeEKN9ZYMTX1g@mail.gmail.com> |
--089e013a1de0b20157052acb6079 Content-Type: text/plain; charset=UTF-8 Hello, Did someone look into this? Is there something else I can do to help? Thank you, Guillermo 2015-12-22 16:18 GMT+01:00 Guillermo Rodriguez Garcia < [email protected]>: > 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] > -- Guillermo Rodriguez Garcia [email protected] --089e013a1de0b20157052acb6079 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr">Hello,<div><br>Did someone look into this? Is there someth= ing else I can do to help?</div><div><br></div><div>Thank you,</div><div cl= ass=3D"gmail_extra"><br></div><div class=3D"gmail_extra">Guillermo</div><di= v class=3D"gmail_extra"><br><div class=3D"gmail_quote">2015-12-22 16:18 GMT= +01:00 Guillermo Rodriguez Garcia <span dir=3D"ltr"><<a href=3D"mailto:g= [email protected]" target=3D"_blank">[email protected]</a>= ></span>:<br><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8e= x;border-left:1px #ccc solid;padding-left:1ex">Hi all,<br> <br> There seems to be some problem with the autoconf macros in<br> classpath-0.99 which was not present in 0.98. Looks like passing<br> --disable-tools to configure also disables the javac detection code,<br> resulting in the following error:<br> <br> =3D=3D=3D<br> $ ./configure --disable-tools<br> [...]<br> checking whether javac supports -J... ./configure: line 24943:<br> -J-Xmx768M: command not found<br> no<br> configure: error: conditional "GCJ_JAVAC" was never defined.<br> Usually this means the macro was only invoked conditionally<br> =3D=3D=3D<br> <br> Note that this didn't happen in 0.98 (just re-checked) so it is<br> probably due to autoconf changes between 0.98 and 0.99<br> <br> Quick workaround (not a proper fix) for systems using javac:<br> <br> $ JAVAC=3Djavac GCJ_JAVAC_TRUE=3D'\#' ./configure --disable-tools<b= r> <br> Best regards,<br> <br> Guillermo Rodriguez Garcia<br> <a href=3D"mailto:[email protected]">[email protected]</a= ><br> </blockquote></div><br><br clear=3D"all"><div><br></div>-- <br><div class= =3D"gmail_signature">Guillermo Rodriguez Garcia<br><a href=3D"mailto:guille= [email protected]" target=3D"_blank">[email protected]</a></div= > </div></div> --089e013a1de0b20157052acb6079--