Skip to content
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

AC_PROG_CC_C99 is obsolete with autoconf >= 2.70 #5254

Merged
merged 1 commit into from
Feb 18, 2024

Conversation

petk
Copy link
Member

@petk petk commented Feb 16, 2024

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 on newer Autoconf versions.

Once PHP will require Autoconf 2.70 or newer, this can be removed. The AC_PROG_CC is added by phpize.m4 from the php-src repository.

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 on newer Autoconf versions.

Once PHP will require Autoconf 2.70 or newer, this can be removed. The
AC_PROG_CC is added by phpize.m4 from the php-src repository.
Copy link

codecov bot commented Feb 16, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (9c08e1a) 72.97% compared to head (ea120e8) 72.97%.

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #5254   +/-   ##
=======================================
  Coverage   72.97%   72.97%           
=======================================
  Files          69       69           
  Lines       14858    14858           
=======================================
  Hits        10843    10843           
  Misses       4015     4015           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@matyhtf matyhtf merged commit c96f8ae into swoole:master Feb 18, 2024
36 of 43 checks passed
@petk petk deleted the patch-ac-prog-cc branch February 18, 2024 23:27
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.

2 participants