Skip to content

Require Autoconf 2.70 or newer#21159

Open
petk wants to merge 1 commit intophp:masterfrom
petk:patch-autoconf-version
Open

Require Autoconf 2.70 or newer#21159
petk wants to merge 1 commit intophp:masterfrom
petk:patch-autoconf-version

Conversation

@petk
Copy link
Member

@petk petk commented Feb 7, 2026

Autoconf versions 2.70 started supporting C11 standards.

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.

Autoconf versions 2.70 started supporting C11 standards.

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 df8b03a to aa80bd6 Compare February 7, 2026 16:46
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.

1 participant