Skip to content

AC_PROG_CC_C99 is obsolete with autoconf >= 2.70 #10383

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

Merged
merged 1 commit into from
Jan 23, 2023

Conversation

petk
Copy link
Member

@petk petk commented Jan 19, 2023

Fixes part of #9483

To make sure that compiler supports C99 before Autoconf 2.69, this was needed. But with Autoconf 2.70 and later the macro is obsolete because the checks are done in AC_PROG_CC and warnings are emitted when building configure script.

I'm not sure whether we should target PHP 8.1 here or is master fine though? Basically, the obsolete warnings when creating configure script won't cause compilation issues on the older PHP versions.

To make sure that compiler supports C99 before Autoconf 2.69, this was
needed. But with Autoconf 2.70 and later the macro is obsolete because
the checks are done in AC_PROG_CC and warnings are emitted when building
configure script.
@devnexen
Copy link
Member

targeting master looks ok to me for this kind of change.

@Girgias Girgias merged commit bf5fdbd into php:master Jan 23, 2023
andypost pushed a commit to skilld-labs/php-src that referenced this pull request May 19, 2023
To make sure that compiler supports C99 before Autoconf 2.69, this was
needed. But with Autoconf 2.70 and later the macro is obsolete because
the checks are done in AC_PROG_CC and warnings are emitted when building
configure script.

Fixes part of phpGH-9483
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants