Skip to content

Commit

Permalink
autoconf: Force overwrite the --install files
Browse files Browse the repository at this point in the history
Also, use `set -x` to make troubleshooting easier.
  • Loading branch information
rhansen committed Jan 7, 2025
1 parent 94ad2a7 commit 2c5c030
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions autoconf/entry.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,14 @@ if [ "$#" = "0" ]; then
fi

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

Expand Down

0 comments on commit 2c5c030

Please sign in to comment.