diff options
author | Eric Blake <ebb9@byu.net> | 2007-10-01 16:22:54 -0600 |
---|---|---|
committer | Eric Blake <ebb9@byu.net> | 2007-10-01 16:22:54 -0600 |
commit | 83294abba1e858e99b558a541b13d4eba53e5daa (patch) | |
tree | 1025bc07a005447010a72791d1ce96d4965dd757 /m4/m4.m4 | |
parent | 19a706a7ed196727075cf5642f6d7b24f24748ed (diff) | |
download | autoconf-83294abba1e858e99b558a541b13d4eba53e5daa.tar.gz |
Once again, reject IRIX m4.
* m4/m4.m4 (AC_PROG_GNU_M4): Use indir builtin to root out non-GNU
implementations that ignore --trace.
* configure: Regenerate.
Reported by Ralf Wildenhues.
Signed-off-by: Eric Blake <ebb9@byu.net>
Diffstat (limited to 'm4/m4.m4')
-rw-r--r-- | m4/m4.m4 | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -17,7 +17,9 @@ AC_DEFUN([AC_PROG_GNU_M4], AC_CACHE_CHECK([for GNU M4 that supports accurate traces], [ac_cv_path_M4], [AC_PATH_PROGS_FEATURE_CHECK([M4], [m4 gm4 gnum4], [dnl Creative quoting here to avoid raw dnl and ifdef in configure. - test -z "`echo if'def(mac,bug)d'nl | $ac_path_M4 --trace=mac 2>&1`" \ + # Root out GNU M4 1.4.4, as well as non-GNU m4 that ignore --trace. + ac_snippet=change'quote(<,>)in''dir(<if''def>,mac,bug)d'nl + test -z "`echo $ac_snippet | $ac_path_M4 --trace=mac 2>&1`" \ && ac_cv_path_M4=$ac_path_M4 ac_path_M4_found=:], [AC_MSG_ERROR([no acceptable m4 could be found in \$PATH. GNU M4 1.4.5 or later is required; 1.4.8 is recommended])])]) |