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

Submitter:  None
Submitted:  Tue 13 Oct 2009 04:33:29 PM UTC
   
 
Priority:  5 - Normal Status:  Done
Assigned to:  simons Originator Email:  -email is unavailable-
Open/Closed:  Closed
* Mandatory Fields

Add a New Comment Rich Markup
   

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>
Group administrator
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>
Group administrator
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 Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

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

    Follow 8 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2010-02-27 simons StatusReady For Test Done
        Open/ClosedOpen Closed
    2010-02-19 simons StatusNeed Info Ready For Test
        Carbon-Copy- Added gleen salmon <gleensalmon@yahoo.com>
        Carbon-Copy- Added egon willighagen <e.willighagen@science.ru.nl>
    2009-12-17 simons Carbon-Copy- Added stephane bortzmeyer <bortzmeyer@pasteur.fr>
    2009-12-17 simons StatusNone Need Info
        Assigned toNone simons

    Back to the top

    Powered by Savane 3.13-f8d8.
    Corresponding source code