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

Submitted by:  None
Submitted on:  Wed 15 Sep 2010 09:21:01 PM UTC  
Priority:  5 - Normal Status:  Done
Assigned to:  Peter Simons <simons> Originator Email:  -email is unavailable-
Open/Closed:  Closed

Add a New Comment(Rich Markup)

You are not logged in

Please log in, so followups can be emailed to you.


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

Hi Harald,

your patch has been committed in [
c9d670b1d7f3d30780996f8ec1bdad2dd98b8592]. Thank you very much for the update!

Take care,

Peter Simons <simons>
Project AdministratorIn charge of this item.
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.



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

Attach Files:

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)

    Please enter the title of George Orwell's famous dystopian book (it's a date):



    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
        Carbon-Copy- => Added gerald point
    2010-09-15 None Attached File- => Added ax_prefix_config_h.m4.diff, #21467

    Back to the top

    Powered by Savane 3.3