]> git.ipfire.org Git - thirdparty/autoconf.git/commitdiff
Use 'eval', so that the resulting configure scripts work even if
authorPaul Eggert <eggert@cs.ucla.edu>
Mon, 20 Oct 2003 23:24:37 +0000 (23:24 +0000)
committerPaul Eggert <eggert@cs.ucla.edu>
Mon, 20 Oct 2003 23:24:37 +0000 (23:24 +0000)
the current directory has a weird file name like 'y%s+%pp%;s%@%_%g'.

ChangeLog
lib/m4sugar/m4sh.m4

index 74a7dcd7c90a76be1e4c237e8c811434a8df3441..8a414fe9130f65ddab0c985f73255e7b180330b1 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2003-10-20  Paul Eggert  <eggert@twinsun.com>
+
+       * 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  <drow@mvista.com>
 
        * lib/autoconf/lang.m4 (AC_LANG_WERROR): New macro.
index 2f18fc68cc198682329c0dc8d6eb733925a915c4..7cb2e30fe248196ea5c199f1a9c738253f3c2540 100644 (file)
@@ -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'"
 ])