patchGNU Autoconf Archive - Patches: patch #7317, ax_prefix_config_h.m4 doesn't work...

 
 

patch #7317: ax_prefix_config_h.m4 doesn't work with dash due to echo with backslashes

Submitter:  None
Submitted:  Wed 15 Sep 2010 09:21:01 PM UTC
   
 
Priority:  5 - Normal Status:  Done
Assigned to:  simons Originator Email:  -email is unavailable-
Open/Closed:  Closed
* Mandatory Fields

Add a New Comment Rich Markup
   

Fri 17 Sep 2010 11:50:48 AM UTC, comment #1: 

Hi Harald,

your patch has been committed in [http://git.savannah.gnu.org/cgit/autoconf-archive.git/commit/?id=c9d670b1d7f3d30780996f8ec1bdad2dd98b8592
c9d670b1d7f3d30780996f8ec1bdad2dd98b8592]. Thank you very much for the update!

Take care,
Peter

Peter Simons <simons>
Group administrator
Wed 15 Sep 2010 09:21:01 PM UTC, original submission:  

The AX_PREFIX_CONFIG_H macro doesn't work with dash, the bug is already noted in the source file. As of autoconf 2.62, AS_ECHO can be used to print strings that may contain backslashes or look like options. This patch updates AX_PREFIX_CONFIG_H to use it.

The comment in the source file refers to $ECHO from libtool, but this requires libtool.m4 which is not part of autoconf, and AS_ECHO is. On the other hand, libtool.m4 (at least the one on my system) only requires autoconf 2.58 or higher, so depending on how much you value compatibility with older autoconf versions, that may be a better choice.

Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

Attached Files
file #21467:  ax_prefix_config_h.m4.diff added by None (3KiB - text/plain - ax_prefix_config_h.m4.diff)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by simons (Posted a comment)
  • -email is unavailable- added by simons (Original authors of the macro)
  • -email is unavailable- added by simons (Original authors of the macro)
  • -email is unavailable- added by None (Submitted the item)
  •  

    Follow 7 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2010-09-24 simons StatusReady For Test Done
        Open/ClosedOpen Closed
    2010-09-17 simons StatusNone Ready For Test
        Assigned toNone simons
        Carbon-Copy- Added guido u. draheim <guidod@gmx.de>
        Carbon-Copy- Added gerald point <gerald.point@labri.fr>
    2010-09-15 None Attached File- Added ax_prefix_config_h.m4.diff, #21467

    Back to the top

    Powered by Savane 3.13-4448.
    Corresponding source code