@@ -579,11 +579,6 @@ if test "$PHP_PEAR" = "yes"; then
579579 PEAR_DIR=pear
580580fi
581581
582- PHP_OUTPUT(pear/pear)
583- PHP_OUTPUT(pear/phpize)
584- PHP_OUTPUT(pear/php-config)
585- PHP_OUTPUT(pear/PEAR.php)
586-
587582
588583divert(5)
589584
@@ -668,7 +663,6 @@ EXTRA_LDFLAGS="$EXTRA_LDFLAGS $LDFLAGS"
668663EXTRA_LIBS="$EXTRA_LIBS $LIBS "
669664LDFLAGS=""
670665LIBS=""
671- PHP_OUTPUT(TSRM/Makefile)
672666
673667
674668phplibdir="` pwd` /modules"
@@ -762,7 +756,7 @@ PHP_SUBST(SHARED_LIBTOOL)
762756PHP_SUBST(TSRM_DIR)
763757PHP_SUBST(TSRM_LIB)
764758PHP_SUBST(WARNING_LEVEL)
765- PHP_SUBST (YACC)
759+ PHP_SUBST_OLD (YACC)
766760
767761PHP_CONFIGURE_PART(Configuring libtool)
768762
@@ -824,7 +818,8 @@ PHP_CONFIGURE_PART(Generating files)
824818
825819PHP_GEN_CONFIG_VARS
826820
827- ALL_OUTPUT_FILES="php4.spec Zend/Makefile main/build-defs.h $PHP_OUTPUT_FILES "
821+ ALL_OUTPUT_FILES="php4.spec Zend/Makefile main/build-defs.h \
822+ pear/pear pear/phpize pear/php-config pear/PEAR.php TSRM/Makefile $PHP_OUTPUT_FILES "
828823
829824AC_OUTPUT($ALL_OUTPUT_FILES , [], [
830825
@@ -863,9 +858,9 @@ if test -n "\$REDO_ALL"; then
863858 # Hacking while airborne considered harmful.
864859 #
865860 echo "creating main/internal_functions.c"
866- extensions=\` grep '^s.@EXT_STATIC@' \$ 0|sed -e 's/^.*@% *//' -e 's/%.*$//' \`
861+ extensions=" $EXT_STATIC "
867862dnl mv -f main/internal_functions.c main/internal_functions.c.old 2>/dev/null
868- sh $srcdir /genif.sh $srcdir /main/internal_functions.c.in $srcdir "$EXTRA_MODULE_PTRS " $AWK \$ extensions > main/internal_functions.c
863+ sh $srcdir /build/ genif.sh $srcdir /main/internal_functions.c.in $srcdir "$EXTRA_MODULE_PTRS " $AWK \$ extensions > main/internal_functions.c
869864dnl if cmp main/internal_functions.c.old main/internal_functions.c > /dev/null 2>&1; then
870865dnl echo "main/internal_functions.c is unchanged"
871866dnl mv main/internal_functions.c.old main/internal_functions.c
0 commit comments