Don't restore timestamp on internal_functions.c, otherwise rerunning

configure will cause config.status to be run again during make
(due to the rule in main/Makefile.in).
This commit is contained in:
Sascha Schumann 2000-09-19 17:36:36 +00:00
parent 4208c264d7
commit ade9a02eef

View File

@ -856,14 +856,14 @@ if test -n "\$REDO_ALL"; then
#
echo "creating main/internal_functions.c"
extensions=\`grep '^s.@EXT_STATIC@' \$0|sed -e 's/^.*@% *//' -e 's/%.*$//'\`
mv -f main/internal_functions.c main/internal_functions.c.old 2>/dev/null
dnl mv -f main/internal_functions.c main/internal_functions.c.old 2>/dev/null
sh $srcdir/genif.sh $srcdir/main/internal_functions.c.in $srcdir "$EXTRA_MODULE_PTRS" \$extensions > main/internal_functions.c
if cmp main/internal_functions.c.old main/internal_functions.c > /dev/null 2>&1; then
echo "main/internal_functions.c is unchanged"
mv main/internal_functions.c.old main/internal_functions.c
else
rm -f main/internal_functions.c.old
fi
dnl if cmp main/internal_functions.c.old main/internal_functions.c > /dev/null 2>&1; then
dnl echo "main/internal_functions.c is unchanged"
dnl mv main/internal_functions.c.old main/internal_functions.c
dnl else
dnl rm -f main/internal_functions.c.old
dnl fi
if test -n "$PHP_APXS_BROKEN"; then
echo "+--------------------------------------------------------------------+"