summaryrefslogtreecommitdiffstats
path: root/Doc/using
diff options
context:
space:
mode:
authorChristian Heimes <christian@python.org>2021-11-10 22:02:19 (GMT)
committerGitHub <noreply@github.com>2021-11-10 22:02:19 (GMT)
commitfc9b62281931da8d20f85d5ed44cfc24f068d3f4 (patch)
tree8ef77feda087e88e549fa4c40d314490e23d1df2 /Doc/using
parent0a9f69539be27acf1cddf1b58d02a88d02e5008d (diff)
downloadcpython-fc9b62281931da8d20f85d5ed44cfc24f068d3f4.zip
cpython-fc9b62281931da8d20f85d5ed44cfc24f068d3f4.tar.gz
cpython-fc9b62281931da8d20f85d5ed44cfc24f068d3f4.tar.bz2
bpo-45723: Add --with-pkg-config to configure (GH-29517)
Co-authored-by: Erlend Egeberg Aasland <erlend.aasland@innova.no>
Diffstat (limited to 'Doc/using')
-rw-r--r--Doc/using/configure.rst11
1 files changed, 11 insertions, 0 deletions
diff --git a/Doc/using/configure.rst b/Doc/using/configure.rst
index 75f572c..f00766d 100644
--- a/Doc/using/configure.rst
+++ b/Doc/using/configure.rst
@@ -116,6 +116,17 @@ General Options
.. versionadded:: 3.10
+.. cmdoption:: --with-pkg-config=[check|yes|no]
+
+ Whether configure should use :program:`pkg-config` to detect build
+ dependencies.
+
+ * ``check`` (default): :program:`pkg-config` is optional
+ * ``yes``: :program:`pkg-config` is mandatory
+ * ``no``: configure does not use :program:`pkg-config` even when present
+
+ .. versionadded:: 3.11
+
Install Options
---------------