diff options
author | Harald van Dijk <truedfx@gentoo.org> | 2009-11-27 11:54:07 +0100 |
---|---|---|
committer | Paolo Bonzini <bonzini@gnu.org> | 2009-11-27 11:54:07 +0100 |
commit | 7f75858f577f11a844781764f30cd42cfe8a5669 (patch) | |
tree | 532d3e9d0213db199b861c62a4821d8b6a80e271 /m4 | |
parent | 119e8f8a2dcc13ec6e8164dd07309c0b3dc1a668 (diff) | |
download | autoconf-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.m4 | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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], |