patchGNU Autoconf Archive - Patches: patch #6948, AX_PROG_JAVAC and friends broken...


patch #6948: AX_PROG_JAVAC and friends broken in cross-build environments by spurious EXEEXT

Submitted by:  None
Submitted on:  Tue Oct 13 16:33:29 2009  
Priority: 5 - NormalStatus: Done
Assigned to: Peter Simons <simons>Originator Email: -unavailable-
Open/Closed: Closed

Add a New Comment (Rich MarkupRich Markup):

You are not logged in

Please log in, so followups can be emailed to you.


Mon May 10 08:38:13 2010, comment #3:

Works fine for me in a cross-compilation environment.

Thanks and best regards, Steve (original submitter)

Fri Feb 19 17:14:24 2010, comment #2:

I committed a fix for the $EXEEXT problem in 5882ca463c8b27ad578c6d25fd0722930e859d26. I'm not entirely sure that I got everything right, though, because I have no way to test the macros. Could you please verify that they still work the way you're expecting?

I've also put all authors of the macros that were touched on Cc to keep eveyone informed about what's going on.

Take care,

Peter Simons <simons>
Project AdministratorIn charge of this item.
Thu Dec 17 18:38:37 2009, comment #1:

Hi Stephane,

there has been a bug report about your macro. If you have the chance, could you please take a look at this?

Take care,

Peter Simons <simons>
Project AdministratorIn charge of this item.
Tue Oct 13 16:33:29 2009, original submission:

First of all thanks very much to contributors and maintainers for the ac archive, it greatly helps.

I've noticed that the AX_PROG_JAVA family of macros searches for the standard java compilers with $EXEEXT extensions, which are based on the build rather than the host system. That is, when building on a Unix machine for a Windows target, gcj.exe is searched for, while gcj should be searched.

Autoconf's AC_PATH_PROG(s) (which is used in the scripts) should actually be clever enough to guess the correct extension, since it iterates through ac_executable_extensions. Simply dropping EXEEXT fixes the bug and shouldn't break Windows builds, but I couldn't test this.



(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):

No files currently attached


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -unavailable- added by simons (macro authors)
  • -unavailable- added by simons (macro authors)
  • -unavailable- added by simons (author of ax_prog_java)
  • -unavailable- added by simons (Posted a comment)
  • -unavailable- added by None (Submitted the item)

    Please enter the title of George Orwell's famous dystopian book (it's a date):



    Follow 8 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sat Feb 27 17:38:17 2010simonsStatusReady For Test=>Done
    Fri Feb 19 17:14:24 2010simonsStatusNeed Info=>Ready For Test
      Carbon-Copy-=>Added gleen salmon
      Carbon-Copy-=>Added egon willighagen
    Thu Dec 17 18:38:38 2009simonsCarbon-Copy-=>Added stephane bortzmeyer
    Thu Dec 17 18:38:37 2009simonsStatusNone=>Need Info
      Assigned toNone=>simons

    Back to the top

    Powered by Savane 3.1-cleanup1