Skip to content

Commit 5668d85

Browse files
committed
autoconf: Force overwrite the --install files
Also, use `set -x` to make troubleshooting easier.
1 parent 2941b7e commit 5668d85

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

Diff for: autoconf/entry.sh

+8
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,14 @@ if [ "$#" = "0" ]; then
2222
fi
2323

2424
echo "Rebuilding configure script using $($AUTOCONF --version | head -n 1)"
25+
set -x
26+
# autoreconf's '--force' option doesn't affect any of the files installed
27+
# by the '--install' option. Remove the files to truly force them to be
28+
# updated so that the CPython repo doesn't drift from this repo.
29+
rm -f /src/aclocal.m4
30+
rm -f /src/config.guess
31+
rm -f /src/config.sub
32+
rm -f /src/install-sh
2533
exec $AUTORECONF -ivf -Werror $@
2634
fi
2735

0 commit comments

Comments
 (0)