patchGNU Autoconf Archive - Patches: patch #8168, AX_PROG_JAVAH: Fix...

 
 

patch #8168: AX_PROG_JAVAH: Fix AC_CANONICAL_TARGET warnings

Submitter:  Arto Bendiken <bendiken>
Submitted:  Fri 23 Aug 2013 10:47:25 PM UTC
   
 
Priority:  5 - Normal Status:  Done
Assigned to:  simons Open/Closed:  Closed
* Mandatory Fields

Add a New Comment Rich Markup
   

Sat 24 Aug 2013 11:08:09 AM UTC, comment #2: 

Thanks for the quick turnaround!

Arto Bendiken <bendiken>
Sat 24 Aug 2013 11:06:32 AM UTC, comment #1: 

Pushed in 5811a12. Thank you very much for the patch.

Peter Simons <simons>
Group administrator
Fri 23 Aug 2013 10:47:25 PM UTC, original submission:  

With Autoconf 2.69 and Automake 1.11.6, the use of AX_PROG_JAVAH causes the following warnings:

    configure.ac:47: warning: AC_ARG_PROGRAM was called before AC_CANONICAL_TARGET
    ../../lib/autoconf/general.m4:1857: AC_CANONICAL_SYSTEM is expanded from...
    m4/ax_prog_javah.m4:27: AX_PROG_JAVAH is expanded from...
    configure.ac:47: the top level
    [the aforementioned warnings repeat a number of times]

This seems to happen because of the use of AC_REQUIRE([AC_CANONICAL_SYSTEM]) where AC_REQUIRE([AC_CANONICAL_BUILD]) would suffice. The attached patch fixes this.

Some related references:

http://www.gnu.org/software/autoconf/manual/autoconf-2.69/html_node/Canonicalizing.html
https://mail.gnome.org/archives/commits-list/2013-June/msg00169.html
http://lists.gnu.org/archive/html/autoconf/2009-07/msg00000.html
http://permalink.gmane.org/gmane.comp.video.mjpeg.devel/584

Arto Bendiken <bendiken>

 

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

Attach Files:
   
   
Comment:
   

Attached Files
file #28917:  ax_prog_javah-ac_canonical_build.patch added by bendiken (534B - application/octet-stream - Use AC_CANONICAL_BUILD instead of AC_CANONICAL_SYSTEM)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by simons (Posted a comment)
  • -email is unavailable- added by simons
  • -email is unavailable- added by bendiken (Submitted the item)
  •  

    Follow 8 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2013-10-03 simons StatusReady For Test Done
        Open/ClosedOpen Closed
    2013-08-24 simons StatusNone Ready For Test
        Assigned toNone simons
        Carbon-Copy- Added luc maisonobe <luc@spaceroots.org>
    2013-08-23 bendiken Carbon-CopyRemoved bendiken -
    2013-08-23 bendiken Attached File- Added ax_prog_javah-ac_canonical_build.patch, #28917
        Carbon-Copy- Added bendiken

    Back to the top

    Powered by Savane 3.13-caa5.
    Corresponding source code