[patch #8279] Added M4 and fixes to AX_PROG_JAR, AX_PROG_JAVA, AX_PROG_JAVAC, and AX_PROG_JAVADOC

Leo Davis <[email protected]>
Newsgroups gmane.comp.sysutils.autoconf.archive-maintainers
Message-ID <[email protected]>
URL:
  <http://savannah.gnu.org/patch/?8279>

                 Summary: Added M4 and fixes to AX_PROG_JAR, AX_PROG_JAVA,
AX_PROG_JAVAC, and AX_PROG_JAVADOC
                 Project: GNU Autoconf Archive
            Submitted by: ldav1s
            Submitted on: Fri 17 Jan 2014 05:19:46 PM MST
                Priority: 5 - Normal
                  Status: None
             Assigned to: None
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any

    _______________________________________________________

Details:

Added M4sugar and M4sh macros to AX_PROG_JAR, AX_PROG_JAVA, AX_PROG_JAVAC, and
AX_PROG_JAVADOC.

AX_JAVA_OPTIONS and the above macros disagreed on what the variable JAVAPREFIX
meant, and would look in the wrong place (if it worked, more on that below). 
According to AX_JAVA_OPTIONS, this variable means "prefix where the Java
runtime is installed", so that's the definition I used.  So executables (e.g.
jar, etc.) should be in "$JAVAPREFIX/bin".

Another problem was that the incorrect search path was plugged into the wrong
parameter of AC_CHECK_PROGS (the value-if-not-found parameter, instead of the
path parameter).

The attached patch should fix all those issues.





    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Fri 17 Jan 2014 05:19:46 PM MST  Name:
0001-M4sugar-and-M4sh-added-to-AX_PROG_JAR-AX_PROG_JAVA-A.patch  Size: 5kB  
By: ldav1s

<http://savannah.gnu.org/patch/download.php?file_id=30304>

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/patch/?8279>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.