From 0def57d61ef7c6738341da3321bca11eaa522f6b Mon Sep 17 00:00:00 2001 From: Xuefer Date: Tue, 19 Sep 2006 00:35:40 +0000 Subject: [PATCH] added argument "stop execution after first warning" for m4 to fail if anything wrong in structinfo.m4. our m4 scripts is warning free git-svn-id: svn://svn.lighttpd.net/xcache/trunk@186 c26eb9a1-5813-0410-bd6c-c2e55f420ca7 --- config.m4 | 3 +++ 1 file changed, 3 insertions(+) diff --git a/config.m4 b/config.m4 index 6007b4a..94f9804 100644 --- a/config.m4 +++ b/config.m4 @@ -68,6 +68,9 @@ if test "$PHP_XCACHE" != "no"; then fi PHP_SUBST([AWK]) AC_PATH_PROGS([M4], [m4]) + if echo | "$M4" -E > /dev/null 2>&1 ; then + M4="$M4 -E" + fi PHP_SUBST([M4]) AC_PATH_PROGS([GREP], [grep]) PHP_SUBST([GREP])