Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add instructions on running autoreconf with pkg-config #750

Merged
merged 3 commits into from
Oct 4, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 8 additions & 1 deletion setup.rst
Original file line number Diff line number Diff line change
Expand Up @@ -447,7 +447,14 @@ example, ``autoconf`` by itself will not regenerate ``pyconfig.h.in``.
appropriate.

Python's ``configure.ac`` script typically requires a specific version of
Autoconf. At the moment, this reads: ``AC_PREREQ(2.69)``.
Autoconf. At the moment, this reads: ``AC_PREREQ(2.69)``. It also requires
to have the ``autoconf-archive`` and ``pkg-config`` utilities installed in
the system and the ``pkg.m4`` macro file located in the appropriate ``alocal``
location. You can easily check if this is correctly configured by running:

.. code-block:: bash

ls $(aclocal --print-ac-dir) | grep pkg.m4

If the system copy of Autoconf does not match this version, you will need to
install your own copy of Autoconf.
Expand Down