mirror of
https://github.com/php/php-src.git
synced 2024-11-23 09:54:15 +08:00
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:
parent
4208c264d7
commit
ade9a02eef
14
configure.in
14
configure.in
@ -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 "+--------------------------------------------------------------------+"
|
||||
|
Loading…
Reference in New Issue
Block a user