Skip to content

Autotools: Refactor PHP_TEST_BUILD checks #15798

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
Sep 8, 2024
Merged

Conversation

petk
Copy link
Member

@petk petk commented Sep 8, 2024

  • The libgd sanity check is there only to check whether all current linked libraries for the bundled libgd work together, otherwise it is probably even redundant a bit; this refactors it to a simpler AC_LINK_IFELSE check with default empty C program by Autoconf
  • The IBM DB2 sanity check is simplified with AC_CHECK_FUNC instead

- The libgd sanity check is there only to check whether all current
  linked libraries for the bundled libgd work together, otherwise it is
  probably even redundant a bit; this refactors it to a simpler
  AC_LINK_IFELSE check with default empty C program by Autoconf
- The IBM DB2 sanity check is simplified with AC_CHECK_FUNC instead
@petk
Copy link
Member Author

petk commented Sep 8, 2024

I'll recheck if everything works as expected and then merge coming up soon here...

@petk petk merged commit dfdec2d into php:master Sep 8, 2024
10 checks passed
@petk petk deleted the patch-PHP_TEST_BUILD branch September 8, 2024 19:05
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