autoconf-archive-maintainers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[patch #8168] AX_PROG_JAVAH: Fix AC_CANONICAL_TARGET warnings


From: Arto Bendiken
Subject: [patch #8168] AX_PROG_JAVAH: Fix AC_CANONICAL_TARGET warnings
Date: Fri, 23 Aug 2013 22:47:26 +0000
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_7_5) AppleWebKit/536.30.1 (KHTML, like Gecko) Version/6.0.5 Safari/536.30.1

URL:
  <http://savannah.gnu.org/patch/?8168>

                 Summary: AX_PROG_JAVAH: Fix AC_CANONICAL_TARGET warnings
                 Project: GNU Autoconf Archive
            Submitted by: bendiken
            Submitted on: Sat 24 Aug 2013 12:47:25 AM CEST
                Priority: 5 - Normal
                  Status: None
             Assigned to: None
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any

    _______________________________________________________

Details:

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




    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Sat 24 Aug 2013 12:47:25 AM CEST  Name:
ax_prog_javah-ac_canonical_build.patch  Size: 534B   By: bendiken
Use AC_CANONICAL_BUILD instead of AC_CANONICAL_SYSTEM
<http://savannah.gnu.org/patch/download.php?file_id=28917>

    _______________________________________________________

Reply to this item at:

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

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]