autoconf-archive-maintainers | |
[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[patch #7291] AX_CFLAGS_GCC_OPTION: Correct handling of indirectly named
From: |
Peter Kjellerstedt |
Subject: |
[patch #7291] AX_CFLAGS_GCC_OPTION: Correct handling of indirectly named sh vars |
Date: |
Wed, 25 Aug 2010 12:24:14 +0000 |
User-agent: |
Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.7) Gecko/20100723 Fedora/3.6.7-1.fc13 Firefox/3.6.7 |
URL:
<http://savannah.gnu.org/patch/?7291>
Summary: AX_CFLAGS_GCC_OPTION: Correct handling of
indirectly named sh vars
Project: GNU Autoconf Archive
Submitted by: pkj
Submitted on: Wed 25 Aug 2010 12:24:12 PM GMT
Priority: 5 - Normal
Status: None
Assigned to: None
Originator Email:
Open/Closed: Open
Discussion Lock: Any
_______________________________________________________
Details:
With autoconf 2.67 a use of AX_CFLAGS_GCC_OPTION() like this
+verabtim+
AX_CFLAGS_GCC_OPTION([-fvisibility=hidden], AM_CFLAGS)
-verabtim-
with an option containing a non-literal character like = suddenly breaks.
This was due to directly accessing variables defined with AS_VAR_PUSHDEF(),
rather than using AS_VAR_SET() and AS_VAR_COPY().
----
I am no m4 hacker, so I do not guarantee my changes are correct, but I do get
the expected result both with autoconf 2.65 and autoconf 2.67 after my
changes.
Also, I did not update the #serial as I assume this is done automatically.
_______________________________________________________
File Attachments:
-------------------------------------------------------
Date: Wed 25 Aug 2010 12:24:12 PM GMT Name:
0001-AX_CFLAGS_GCC_OPTION-Correct-handling-of-indirectly-.patch Size: 7kB
By: pkj
<http://savannah.gnu.org/patch/download.php?file_id=21302>
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/patch/?7291>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
- [patch #7291] AX_CFLAGS_GCC_OPTION: Correct handling of indirectly named sh vars,
Peter Kjellerstedt <=