From: Paul Eggert Date: Mon, 20 Oct 2003 23:24:37 +0000 (+0000) Subject: Use 'eval', so that the resulting configure scripts work even if X-Git-Tag: AUTOCONF-2.57g~6 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=828da4a04cafe835089d011dafa42c8235aa84db;p=thirdparty%2Fautoconf.git Use 'eval', so that the resulting configure scripts work even if the current directory has a weird file name like 'y%s+%pp%;s%@%_%g'. --- diff --git a/ChangeLog b/ChangeLog index 74a7dcd7..8a414fe9 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2003-10-20 Paul Eggert + + * lib/m4sugar/m4sh.m4 (_AS_TR_SH_PREPARE, _AS_TR_CPP_PREPARE): + Use 'eval', so that the resulting configure scripts work even if + the current directory has a weird file name like 'y%s+%pp%;s%@%_%g'. + 2003-10-20 Daniel Jacobowitz * lib/autoconf/lang.m4 (AC_LANG_WERROR): New macro. diff --git a/lib/m4sugar/m4sh.m4 b/lib/m4sugar/m4sh.m4 index 2f18fc68..7cb2e30f 100644 --- a/lib/m4sugar/m4sh.m4 +++ b/lib/m4sugar/m4sh.m4 @@ -938,7 +938,7 @@ as_cr_alnum=$as_cr_Letters$as_cr_digits m4_defun([_AS_TR_SH_PREPARE], [AS_REQUIRE([_AS_CR_PREPARE])dnl # Sed expression to map a string onto a valid variable name. -as_tr_sh="sed y%*+%pp%;s%[[^_$as_cr_alnum]]%_%g" +as_tr_sh="eval sed 'y%*+%pp%;s%[[^_$as_cr_alnum]]%_%g'" ]) @@ -960,7 +960,7 @@ AS_LITERAL_IF([$1], m4_defun([_AS_TR_CPP_PREPARE], [AS_REQUIRE([_AS_CR_PREPARE])dnl # Sed expression to map a string onto a valid CPP name. -as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[[^_$as_cr_alnum]]%_%g" +as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[[^_$as_cr_alnum]]%_%g'" ])