8000 autoconf: Don't use generated file as sentinel (#35) · python/cpython-devcontainers@0b174c7 · GitHub
[go: up one dir, main page]

Skip to content

Commit 0b174c7

Browse files
authored
autoconf: Don't use generated file as sentinel (#35)
1 parent e3aa23c commit 0b174c7

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

autoconf/entry.sh

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,9 @@ AUTOCONF=$BIN/autoconf
88
AUTORECONF=$BIN/autoreconf
99

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

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

2628
exec "$@"
27-

0 commit comments

Comments
 (0)
0