From 7b6012cbfbaeb7bf5f28e04dcd75021e981bd9c9 Mon Sep 17 00:00:00 2001 From: Sascha Schumann Date: Thu, 11 Apr 2002 05:47:03 +0000 Subject: [PATCH] properly reset ac_extra in PHP_NEW_EXTENSION redirect stderr to /dev/null to silence xargs Noticed by: Andrei --- acinclude.m4 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/acinclude.m4 b/acinclude.m4 index 5efc878db5..0dbb94a35b 100644 --- a/acinclude.m4 +++ b/acinclude.m4 @@ -33,7 +33,7 @@ mkdir include >/dev/null 2>&1 > Makefile.fragments dnl We need to play tricks here to avoid matching the egrep line itself pattern=define -egrep $pattern'.*include/php' $srcdir/configure|sed 's/.*>//'|xargs touch +egrep $pattern'.*include/php' $srcdir/configure|sed 's/.*>//'|xargs touch 2>/dev/null ]) dnl PHP_GEN_GLOBAL_MAKEFILE @@ -1149,7 +1149,7 @@ AC_DEFUN(PHP_NEW_EXTENSION,[ ext_builddir=[]PHP_EXT_BUILDDIR($1) ext_srcdir=[]PHP_EXT_SRCDIR($1) - ifelse($5,,,[ac_extra=`echo $ac_n "$5$ac_c"|sed s#@ext_srcdir@#$ext_srcdir#g`]) + ifelse($5,,ac_extra=,[ac_extra=`echo $ac_n "$5$ac_c"|sed s#@ext_srcdir@#$ext_srcdir#g`]) if test "$3" != "shared" && test "$3" != "yes" && test "$4" != "cli"; then dnl ---------------------------------------------- Static module -- 2.50.1