[patch #9452] ax_check_define.m4: Fix error if compiler flags include -Werror=unused
anonymous <[email protected]> Wed, 13 Sep 2017 09:46:09 -0400 (EDT)
| Newsgroups | gmane.comp.sysutils.autoconf.archive-maintainers |
|---|---|
| Message-ID | <[email protected]> |
URL:
<http://savannah.gnu.org/patch/?9452>
Summary: ax_check_define.m4: Fix error if compiler flags
include -Werror=unused
Project: GNU Autoconf Archive
Submitted by: None
Submitted on: Wed 13 Sep 2017 01:46:08 PM UTC
Priority: 5 - Normal
Status: None
Assigned to: None
Originator Email: [email protected]
Open/Closed: Open
Discussion Lock: Any
_______________________________________________________
Details:
If the compiler flags include -Werror=unused, compiling the test source in
AX_CHECK_DEFINE fails with a compile error if the define exists, resulting in
AX_CHECK_DEFINE assuming the define is not set.
The attached patch fixes the problem so that AX_CHECK_DEFINE works correctly
when -Werror=unused is used.
_______________________________________________________
File Attachments:
-------------------------------------------------------
Date: Wed 13 Sep 2017 01:46:08 PM UTC Name: ax_check_define.diff Size: 455B
By: None
<http://savannah.gnu.org/patch/download.php?file_id=41793>
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/patch/?9452>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/