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

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

[patch #9644] AX_JNI_INCLUDE_DIR incorrect without host_os defined


From: Carnë Draug
Subject: [patch #9644] AX_JNI_INCLUDE_DIR incorrect without host_os defined
Date: Sun, 27 May 2018 17:42:59 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Firefox/52.0

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

                 Summary: AX_JNI_INCLUDE_DIR incorrect without host_os defined
                 Project: GNU Autoconf Archive
            Submitted by: carandraug
            Submitted on: Sun 27 May 2018 09:42:57 PM UTC
                Priority: 5 - Normal
                  Status: None
             Assigned to: None
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any

    _______________________________________________________

Details:

The macro AX_JNI_INCLUDE_DIR makes use of the variable host_os.  This variable
is only set after calling AC_CANONICAL_HOST.  However, AX_JNI_INCLUDE_DIR does
not call AC_CANONICAL_HOST and does not document that AC_CANONICAL_HOST should
be called first.

At the moment, what happens is that host_os is empty, there's no check for it,
and so the returned list of directories is incomplete.

I have patched it by calling AC_CANONICAL_HOST and documenting the
implications mentioned on the autoconf manual.



    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Sun 27 May 2018 09:42:57 PM UTC  Name:
0001-ax_jni_include_dir.m4-call-AC_CANONICAL_HOST-to-make.patch  Size: 1KiB  
By: carandraug

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

    _______________________________________________________

Reply to this item at:

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

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

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