From b7911cd4a09c64cf669904a398810e9790610453 Mon Sep 17 00:00:00 2001 From: Russ Allbery Date: Sat, 17 Feb 2024 08:48:54 -0800 Subject: [PATCH] Bump Autoconf macro serial numbers, add change log Bump serial numbers for Autoconf macros for the change to -isystem and the Python flag detection fixes. Add a change log fragment. --- changelog.d/20240217_084600_eagle.md | 7 +++++++ m4/apache.m4 | 2 +- m4/apr.m4 | 2 +- m4/aprutil.m4 | 2 +- m4/curl.m4 | 2 +- m4/gssapi.m4 | 2 +- m4/kafs.m4 | 2 +- m4/ldap.m4 | 2 +- m4/lib-helper.m4 | 2 +- m4/pcre.m4 | 2 +- m4/python.m4 | 6 +++--- m4/remctl.m4 | 2 +- 12 files changed, 20 insertions(+), 13 deletions(-) create mode 100644 changelog.d/20240217_084600_eagle.md diff --git a/changelog.d/20240217_084600_eagle.md b/changelog.d/20240217_084600_eagle.md new file mode 100644 index 0000000..7a22022 --- /dev/null +++ b/changelog.d/20240217_084600_eagle.md @@ -0,0 +1,7 @@ +### New features + +- All Autoconf macros that detect libraries now use `-isystem` instead of `-I` for the include paths. This tells the compiler to suppress warnings for constructions in the headers by treating them as system headers. + +### Bug fixes + +- Use `python-config` to find link flags if it is available, since this produces more correct results. Remove `LOCALMODLIBS` from the requested flags, since it is not necessary and breaks the build with newer Python versions. diff --git a/m4/apache.m4 b/m4/apache.m4 index fb4fdcc..e7edffa 100644 --- a/m4/apache.m4 +++ b/m4/apache.m4 @@ -1,4 +1,4 @@ -# serial 1 +# serial 2 dnl Find the compiler and linker flags for Apache modules. dnl diff --git a/m4/apr.m4 b/m4/apr.m4 index 1f4c06b..cc70b71 100644 --- a/m4/apr.m4 +++ b/m4/apr.m4 @@ -1,4 +1,4 @@ -# serial 1 +# serial 2 dnl Find the compiler and linker flags for APR. dnl diff --git a/m4/aprutil.m4 b/m4/aprutil.m4 index 2222125..55d387e 100644 --- a/m4/aprutil.m4 +++ b/m4/aprutil.m4 @@ -1,4 +1,4 @@ -# serial 1 +# serial 2 dnl Find the compiler and linker flags for APR-Util. dnl diff --git a/m4/curl.m4 b/m4/curl.m4 index e7e35eb..dbd5e29 100644 --- a/m4/curl.m4 +++ b/m4/curl.m4 @@ -1,4 +1,4 @@ -# serial 1 +# serial 2 dnl Find the compiler and linker flags for cURL. dnl diff --git a/m4/gssapi.m4 b/m4/gssapi.m4 index 57d390f..cb04235 100644 --- a/m4/gssapi.m4 +++ b/m4/gssapi.m4 @@ -1,4 +1,4 @@ -# serial 1 +# serial 2 dnl Find the compiler and linker flags for GSS-API. dnl diff --git a/m4/kafs.m4 b/m4/kafs.m4 index 1a9e32e..88b4892 100644 --- a/m4/kafs.m4 +++ b/m4/kafs.m4 @@ -1,4 +1,4 @@ -# serial 1 +# serial 2 dnl Test for a libkafs library or replacement. dnl diff --git a/m4/ldap.m4 b/m4/ldap.m4 index b85d276..0ab5055 100644 --- a/m4/ldap.m4 +++ b/m4/ldap.m4 @@ -1,4 +1,4 @@ -# serial 1 +# serial 2 dnl Find the compiler and linker flags for OpenLDAP. dnl diff --git a/m4/lib-helper.m4 b/m4/lib-helper.m4 index a8050db..71e337d 100644 --- a/m4/lib-helper.m4 +++ b/m4/lib-helper.m4 @@ -1,4 +1,4 @@ -# serial 1 +# serial 2 dnl Helper functions to manage compiler variables. dnl diff --git a/m4/pcre.m4 b/m4/pcre.m4 index 73c65c2..1bbc860 100644 --- a/m4/pcre.m4 +++ b/m4/pcre.m4 @@ -1,4 +1,4 @@ -# serial 1 +# serial 2 dnl Find the compiler and linker flags for PCRE. dnl diff --git a/m4/python.m4 b/m4/python.m4 index f44233b..103dd34 100644 --- a/m4/python.m4 +++ b/m4/python.m4 @@ -1,4 +1,4 @@ -# serial 1 +# serial 2 dnl Probe for Python properties and, optionally, flags for embedding Python. dnl @@ -42,8 +42,8 @@ dnl dnl The canonical version of this file is maintained in the rra-c-util dnl package, available at . dnl -dnl Copyright 2018, 2021-2022, 2024 Russ Allbery -dnl Copyright 2009, 2011, 2015, 2018, 2021 +dnl Copyright 2018, 2021-2022 Russ Allbery +dnl Copyright 2009, 2011, 2015, 2018, 2021, 2024 dnl Julien ÉLIE dnl Copyright 1998-2003 The Internet Software Consortium dnl diff --git a/m4/remctl.m4 b/m4/remctl.m4 index 1d916d2..5fcd08c 100644 --- a/m4/remctl.m4 +++ b/m4/remctl.m4 @@ -1,4 +1,4 @@ -# serial 1 +# serial 2 dnl Find the compiler and linker flags for remctl. dnl