summaryrefslogtreecommitdiff
path: root/m4
diff options
context:
space:
mode:
authorHarald van Dijk <truedfx@gentoo.org>2009-11-27 11:54:07 +0100
committerPaolo Bonzini <bonzini@gnu.org>2009-11-27 11:54:07 +0100
commit7f75858f577f11a844781764f30cd42cfe8a5669 (patch)
tree532d3e9d0213db199b861c62a4821d8b6a80e271 /m4
parent119e8f8a2dcc13ec6e8164dd07309c0b3dc1a668 (diff)
downloadautoconf-7f75858f577f11a844781764f30cd42cfe8a5669.tar.gz
Fix m4 detection test on dash.
* m4/m4 (AC_PROG_GNU_M4): Use AS_ECHO.
Diffstat (limited to 'm4')
-rw-r--r--m4/m4.m42
1 files changed, 1 insertions, 1 deletions
diff --git a/m4/m4.m4 b/m4/m4.m4
index 096fb287..be86031a 100644
--- 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],