Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit ede2dfb

Browse files
committed
Add instructions on running autoreconf with pkg-config
1 parent 7a7a663 commit ede2dfb

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

setup.rst

+8-1
Original file line numberDiff line numberDiff line change
@@ -447,7 +447,14 @@ example, ``autoconf`` by itself will not regenerate ``pyconfig.h.in``.
447447
appropriate.
448448

449449
Python's ``configure.ac`` script typically requires a specific version of
450-
Autoconf. At the moment, this reads: ``AC_PREREQ(2.69)``.
450+
Autoconf. At the moment, this reads: ``AC_PREREQ(2.69)``. It also requires
451+
to have the ``pkg-config`` utility installed in the system and the ``pkg.m4``
452+
macro file located in the approapiate ``alocal`` location. You can easily check
453+
if this is correctly configured by running:
454+
455+
.. code-block:: bash
456+
457+
ls $(aclocal --print-ac-dir) | grep pkg.m4
451458
452459
If the system copy of Autoconf does not match this version, you will need to
453460
install your own copy of Autoconf.

0 commit comments

Comments
 (0)