]> git.ipfire.org Git - thirdparty/autoconf.git/commitdiff
Fix m4 detection test on dash.
authorHarald van Dijk <truedfx@gentoo.org>
Fri, 27 Nov 2009 10:54:07 +0000 (11:54 +0100)
committerPaolo Bonzini <bonzini@gnu.org>
Fri, 27 Nov 2009 10:54:07 +0000 (11:54 +0100)
* m4/m4 (AC_PROG_GNU_M4): Use AS_ECHO.

ChangeLog
m4/m4.m4

index 9e908339e13ae79a8098de69281e7cbe7758d553..889c59cdb6ae8803b1d97b49d2f7ec8a45150151 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2009-11-27  Harald van Dijk  <truedfx@gentoo.org>
+
+       Fix m4 detection test on dash.
+       * m4/m4 (AC_PROG_GNU_M4): Use AS_ECHO.
+
 2009-11-24  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
 
        Fix AC_FUNC_MMAP regression with C++ compiler in 2.65.
index 096fb287a34421e162c1076d513daf51b49e717c..be86031a58426197937f697dbcdb0145f74b8749 100644 (file)
--- a/m4/m4.m4
+++ b/m4/m4.m4
@@ -29,7 +29,7 @@ AC_PATH_PROGS_FEATURE_CHECK([M4], [m4 gm4 gnum4],
       ac_snippet=change'quote(<,>)in''dir(<if''def>,mac,bug)'
       ac_snippet=${ac_snippet}pat'subst(a,\(b\)\|\(a\),\1)d'nl
       test -z "`$ac_path_M4 -F conftest.m4f </dev/null 2>&1`" \
-      && test -z "`echo $ac_snippet | $ac_path_M4 --trace=mac 2>&1`" \
+      && test -z "`AS_ECHO([$ac_snippet]) | $ac_path_M4 --trace=mac 2>&1`" \
       && test -f conftest.m4f \
       && ac_cv_path_M4=$ac_path_M4 ac_path_M4_found=:
       rm -f conftest.m4f],