summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorChristian Heimes <christian@python.org>2021-11-19 17:40:57 +0200
committerGitHub <noreply@github.com>2021-11-19 16:40:57 +0100
commit7e44dc0ba768451f287a541cd1c85f7d87a41561 (patch)
treeba3b37dd571ba31928abb7f8e33fdbab10cb29c9 /configure
parentd64659d8cdd90bf52950563c945b30b5f0ca8dd2 (diff)
downloadcpython-git-7e44dc0ba768451f287a541cd1c85f7d87a41561.tar.gz
bpo-45573: Move mandatory core modules to Modules/Setup.bootstrap (GH-29616)
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure66
1 files changed, 65 insertions, 1 deletions
diff --git a/configure b/configure
index 657c71dca6..96005cb63a 100755
--- a/configure
+++ b/configure
@@ -634,6 +634,12 @@ MODULE_PYEXPAT_FALSE
MODULE_PYEXPAT_TRUE
MODULE_OSSAUDIODEV_FALSE
MODULE_OSSAUDIODEV_TRUE
+MODULE__DATETIME_FALSE
+MODULE__DATETIME_TRUE
+MODULE_TIME_FALSE
+MODULE_TIME_TRUE
+MODULE__IO_FALSE
+MODULE__IO_TRUE
TEST_MODULES
LIBRARY_DEPS
STATIC_LIBPYTHON
@@ -19456,6 +19462,52 @@ MODULE_BLOCK=
+
+
+ if true; then
+ MODULE__IO_TRUE=
+ MODULE__IO_FALSE='#'
+else
+ MODULE__IO_TRUE='#'
+ MODULE__IO_FALSE=
+fi
+
+
+ as_fn_append MODULE_BLOCK "MODULE__IO_CFLAGS=-I\$(srcdir)/Modules/_io$as_nl"
+
+
+
+
+ if true; then
+ MODULE_TIME_TRUE=
+ MODULE_TIME_FALSE='#'
+else
+ MODULE_TIME_TRUE='#'
+ MODULE_TIME_FALSE=
+fi
+
+
+
+ as_fn_append MODULE_BLOCK "MODULE_TIME_LDFLAGS=$TIMEMODULE_LIB$as_nl"
+
+
+
+
+ if true; then
+ MODULE__DATETIME_TRUE=
+ MODULE__DATETIME_FALSE='#'
+else
+ MODULE__DATETIME_TRUE='#'
+ MODULE__DATETIME_FALSE=
+fi
+
+
+
+ as_fn_append MODULE_BLOCK "MODULE__DATETIME_LDFLAGS=$TIMEMODULE_LIB $LIBM$as_nl"
+
+
+
+
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdlib extension module ossaudiodev" >&5
$as_echo_n "checking for stdlib extension module ossaudiodev... " >&6; }
case $py_stdlib_not_available in #(
@@ -19828,6 +19880,18 @@ LTLIBOBJS=$ac_ltlibobjs
+if test -z "${MODULE__IO_TRUE}" && test -z "${MODULE__IO_FALSE}"; then
+ as_fn_error $? "conditional \"MODULE__IO\" was never defined.
+Usually this means the macro was only invoked conditionally." "$LINENO" 5
+fi
+if test -z "${MODULE_TIME_TRUE}" && test -z "${MODULE_TIME_FALSE}"; then
+ as_fn_error $? "conditional \"MODULE_TIME\" was never defined.
+Usually this means the macro was only invoked conditionally." "$LINENO" 5
+fi
+if test -z "${MODULE__DATETIME_TRUE}" && test -z "${MODULE__DATETIME_FALSE}"; then
+ as_fn_error $? "conditional \"MODULE__DATETIME\" was never defined.
+Usually this means the macro was only invoked conditionally." "$LINENO" 5
+fi
if test -z "${MODULE_OSSAUDIODEV_TRUE}" && test -z "${MODULE_OSSAUDIODEV_FALSE}"; then
as_fn_error $? "conditional \"MODULE_OSSAUDIODEV\" was never defined.
Usually this means the macro was only invoked conditionally." "$LINENO" 5
@@ -21068,7 +21132,7 @@ fi
echo "creating Makefile" >&6
$SHELL $srcdir/Modules/makesetup -c $srcdir/Modules/config.c.in \
-s Modules \
- Modules/Setup.local $srcdir/Modules/Setup
+ Modules/Setup.local $srcdir/Modules/Setup.bootstrap $srcdir/Modules/Setup
mv config.c Modules
if test -z "$PKG_CONFIG"; then