From 828da4a04cafe835089d011dafa42c8235aa84db Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Mon, 20 Oct 2003 23:24:37 +0000 Subject: [PATCH] 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'. --- ChangeLog | 6 ++++++ lib/m4sugar/m4sh.m4 | 4 ++-- 2 files changed, 8 insertions(+), 2 deletions(-) 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'" ]) -- 2.47.2