Index: /branches/1.2/config.m4
===================================================================
--- /branches/1.2/config.m4	(revision 410)
+++ /branches/1.2/config.m4	(revision 411)
@@ -75,6 +75,8 @@
   PHP_SUBST([XCACHE_AWK])
   AC_PATH_PROGS([M4], [m4])
-  if echo | "$M4" -E > /dev/null 2>&1 ; then
-    M4="$M4 -E"
+  if test "$PHP_XCACHE_TEST" != "no"; then
+    if echo | "$M4" -E > /dev/null 2>&1 ; then
+      M4="$M4 -E"
+    fi
   fi
    dnl fix for solaris m4: size of the push-back and argument
