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 13 Oct 2009 04:33:29 PM UTC  
 
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 10 May 2010 08:38:13 AM UTC, comment #3:

Works fine for me in a cross-compilation environment.

Thanks and best regards, Steve (original submitter)

Anonymous
Fri 19 Feb 2010 05:14:24 PM UTC, 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

Peter Simons <simons>
Project AdministratorIn charge of this item.
Thu 17 Dec 2009 06:38:37 PM UTC, 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

Peter Simons <simons>
Project AdministratorIn charge of this item.
Tue 13 Oct 2009 04:33:29 PM UTC, 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.

Anonymous

 

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

Attach File(s):
   
   
Comment:
   

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 27 Feb 2010 05:38:17 PM UTCsimonsStatusReady For Test=>Done
      Open/ClosedOpen=>Closed
    Fri 19 Feb 2010 05:14:24 PM UTCsimonsStatusNeed Info=>Ready For Test
      Carbon-Copy-=>Added gleen salmon
      Carbon-Copy-=>Added egon willighagen
    Thu 17 Dec 2009 06:38:38 PM UTCsimonsCarbon-Copy-=>Added stephane bortzmeyer
    Thu 17 Dec 2009 06:38:37 PM UTCsimonsStatusNone=>Need Info
      Assigned toNone=>simons

    Back to the top


    Powered by Savane 3.1-cleanup