From: Harald van Dijk Date: Fri, 27 Nov 2009 10:54:07 +0000 (+0100) Subject: Fix m4 detection test on dash. X-Git-Tag: v2.66~116 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7f75858f577f11a844781764f30cd42cfe8a5669;p=thirdparty%2Fautoconf.git Fix m4 detection test on dash. * m4/m4 (AC_PROG_GNU_M4): Use AS_ECHO. --- diff --git a/ChangeLog b/ChangeLog index 9e908339..889c59cd 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2009-11-27 Harald van Dijk + + Fix m4 detection test on dash. + * m4/m4 (AC_PROG_GNU_M4): Use AS_ECHO. + 2009-11-24 Ralf Wildenhues Fix AC_FUNC_MMAP regression with C++ compiler in 2.65. 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(,mac,bug)' ac_snippet=${ac_snippet}pat'subst(a,\(b\)\|\(a\),\1)d'nl test -z "`$ac_path_M4 -F conftest.m4f &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],