summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorChristian Heimes <christian@python.org>2021-11-07 10:18:45 (GMT)
committerGitHub <noreply@github.com>2021-11-07 10:18:45 (GMT)
commitbe3cd5c05d9fb1d1cdb55cb98ca6ef8f866774be (patch)
tree51291579b1f2ede091116fdd489e07c8203dc3eb /configure
parent91275207296c39e495fe118019a757c4ddefede8 (diff)
downloadcpython-be3cd5c05d9fb1d1cdb55cb98ca6ef8f866774be.zip
cpython-be3cd5c05d9fb1d1cdb55cb98ca6ef8f866774be.tar.gz
cpython-be3cd5c05d9fb1d1cdb55cb98ca6ef8f866774be.tar.bz2
bpo-45723: Detect missing pkg-config (GH-29442)
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure6
1 files changed, 5 insertions, 1 deletions
diff --git a/configure b/configure
index 1eea2d1..7c34a60 100755
--- a/configure
+++ b/configure
@@ -2777,7 +2777,6 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
-
if test "$srcdir" != . -a "$srcdir" != "$(pwd)"; then
# If we're building out-of-tree, we need to make sure the following
# resources get picked up before their $srcdir counterparts.
@@ -19574,6 +19573,11 @@ $SHELL $srcdir/Modules/makesetup -c $srcdir/Modules/config.c.in \
Modules/Setup.local $srcdir/Modules/Setup
mv config.c Modules
+if test -z "$PKG_CONFIG"; then
+ echo "" >&6
+ echo "pkg-config is missing. Some dependencies may not be detected correctly." >&6
+fi
+
if test "$Py_OPT" = 'false' -a "$Py_DEBUG" != 'true'; then
echo "" >&6
echo "" >&6