Skip to content

Conversation

@petk
Copy link
Member

@petk petk commented Feb 7, 2026

This updates the minimum required Autoconf version to 2.71.

  • Autoconf versions 2.70 started supporting C11 standards.
  • Autoconf 2.71 was released soon after 2.70 providing some bugfixes.

Changes:

  • Removed obsolete AC_PROG_CC_C99 macro. In Autoconf 2.70 and later this is done by the AC_PROG_CC macro.
  • m4_normalize is not needed for AC_CHECK_HEADERS and AC_CHECK_FUNCTIONS macros anymore, as the argument is normalized internally by Autoconf in these newer versions.
  • Adjusted C11 check.
  • Removed ac_cv_header_sys_types_h_makedev hack for AC_HEADER_MAJOR macro when using Autoconf versions prior to 2.70.

This also enables using --runstatedir configure option in the future.

This updates the minimum required Autoconf version to 2.71.
- Autoconf versions 2.70 started supporting C11 standards.
- Autoconf 2.71 was released soon after 2.70 providing some bugfixes.

Changes:
- Removed obsolete AC_PROG_CC_C99 macro. In Autoconf 2.70 and later this
  is done by the AC_PROG_CC macro.
- m4_normalize is not needed for AC_CHECK_HEADERS and AC_CHECK_FUNCTIONS
  macros anymore, as the argument is normalized internally by Autoconf
  in these newer versions.
- Adjusted C11 check.
- Removed ac_cv_header_sys_types_h_makedev hack for AC_HEADER_MAJOR
  macro when using Autoconf versions prior to 2.70.

This also enables using --runstatedir configure option in the future.
@petk petk force-pushed the patch-autoconf-version branch from aa80bd6 to 10f3dff Compare February 9, 2026 13:16
@petk petk changed the title Require Autoconf 2.70 or newer Require Autoconf 2.71 or newer Feb 9, 2026
@petk
Copy link
Member Author

petk commented Feb 9, 2026

Updating it to 2.71 instead since 2.71 was released only one month after 2.70 and it includes some important bug fixes.

Edit: If anyone would like to review this, more than welcome. I've added for now only those that have changed build system files semi-recently...

@NattyNarwhal
Copy link
Member

Seems to work fine on macOS/arm and linux/ppc64. Testing this PR on AIX (had to upgrade from 2.69...) and it seems OK so far, but builds are pretty slow on that system.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants