Skip to content

Commit

Permalink
autoconf: Don't use generated file as sentinel (#35)
Browse files Browse the repository at this point in the history
  • Loading branch information
rhansen authored Dec 17, 2024
1 parent e3aa23c commit 0b174c7
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions autoconf/entry.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,9 @@ AUTOCONF=$BIN/autoconf
AUTORECONF=$BIN/autoreconf

if [ "$#" = "0" ]; then
SENTINEL=/src/pyconfig.h.in
# This is the same sentinel used for AC_CONFIG_SRCDIR in CPython's
# configure.ac.
SENTINEL=/src/Include/object.h

if [ ! -e ${SENTINEL} ]; then
echo "ERROR: ${SENTINEL} not found "
Expand All @@ -24,4 +26,3 @@ if [ "$#" = "0" ]; then
fi

exec "$@"

0 comments on commit 0b174c7

Please sign in to comment.