Carnë Draug
2018-05-27 21:42:59 UTC
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/
<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/