From ede2dfba972aea030aad664eca95d732aa22baba Mon Sep 17 00:00:00 2001 From: Pablo Galindo Date: Sun, 3 Oct 2021 17:26:28 +0100 Subject: [PATCH 1/3] Add instructions on running autoreconf with pkg-config --- setup.rst | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/setup.rst b/setup.rst index 0c69af6958..2465564848 100644 --- a/setup.rst +++ b/setup.rst @@ -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 ``pkg-config`` utility installed in the system and the ``pkg.m4`` +macro file located in the approapiate ``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. From 7f0f1d654be8b2298ca144f5c5e1f0b09932e84d Mon Sep 17 00:00:00 2001 From: Pablo Galindo Date: Mon, 4 Oct 2021 00:08:29 +0100 Subject: [PATCH 2/3] fixup! Add instructions on running autoreconf with pkg-config --- setup.rst | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/setup.rst b/setup.rst index 2465564848..22d7e4ae9e 100644 --- a/setup.rst +++ b/setup.rst @@ -448,9 +448,9 @@ appropriate. Python's ``configure.ac`` script typically requires a specific version of Autoconf. At the moment, this reads: ``AC_PREREQ(2.69)``. It also requires -to have the ``pkg-config`` utility installed in the system and the ``pkg.m4`` -macro file located in the approapiate ``alocal`` location. You can easily check -if this is correctly configured by running: +to have the ``autoconf-archive`` and ``pkg-config`` utilities installed in +the system and the ``pkg.m4`` macro file located in the approapiate ``alocal`` +location. You can easily check if this is correctly configured by running: .. code-block:: bash From c0a7af054c4b0f7d5ea7bdf840df9a3f1095a7a5 Mon Sep 17 00:00:00 2001 From: Ned Deily Date: Sun, 3 Oct 2021 20:01:30 -0400 Subject: [PATCH 3/3] fix typo --- setup.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.rst b/setup.rst index 22d7e4ae9e..42cbe17586 100644 --- a/setup.rst +++ b/setup.rst @@ -449,7 +449,7 @@ appropriate. Python's ``configure.ac`` script typically requires a specific version of 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 approapiate ``alocal`` +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