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 - NormalStatus: Done
Assigned to: Peter Simons <simons>Originator Email: -unavailable-
Open/Closed: Closed

Add a New Comment (Rich MarkupRich 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 [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>
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.

Anonymous

 

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

Attach File(s):
   
   
Comment:
   

Attached Files
file #21467:  ax_prefix_config_h.m4.diff added by None (3kB - 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
  • -unavailable- added by simons (Posted a comment)
  • -unavailable- added by simons (Original authors of the macro)
  • -unavailable- added by simons (Original authors of the macro)
  • -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
    Fri 24 Sep 2010 06:56:47 PM UTCsimonsStatusReady For Test=>Done
      Open/ClosedOpen=>Closed
    Fri 17 Sep 2010 11:50:48 AM UTCsimonsStatusNone=>Ready For Test
      Assigned toNone=>simons
      Carbon-Copy-=>Added guido u. draheim
      Carbon-Copy-=>Added gerald point
    Wed 15 Sep 2010 09:21:01 PM UTCNoneAttached File-=>Added ax_prefix_config_h.m4.diff, #21467

    Back to the top


    Powered by Savane 3.1-cleanup