Skip to content

Autotools: Refactor curl config.m4 #14948

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
Jul 14, 2024
Merged

Autotools: Refactor curl config.m4 #14948

merged 1 commit into from
Jul 14, 2024

Conversation

petk
Copy link
Member

@petk petk commented Jul 13, 2024

  • CS synced
  • When checking for libcurl linked against old OpenSSL the LIBS can be used instead of LDFLAGS to put -lcurl to proper place. Also, flags manipulation variables are wrapped in the AC_CACHE_CHECK commands because there is also OpenSSL setup done later in the code which changes LDFLAGS, LIBS and/or CFLAGS.
  • CFLAGS added to the check to have edge case of -I flags of custom installation paths taken into consideration
  • All macro arguments quoted
  • SSL check simplified a bit
  • The HAVE_CURL symbol help text synced

- CS synced
- When checking for libcurl linked against old OpenSSL the LIBS can be
  used instead of LDFLAGS to put -lcurl to proper place. Also, flags
  manipulation variables are wrapped in the AC_CACHE_CHECK commands
  because there is also OpenSSL setup done later in the code which
  changes LDFLAGS, LIBS and/or CFLAGS.
- CFLAGS added to the check to have edge case of -I flags of custom
  installation paths taken into consideration
- All macro arguments quoted
- SSL check simplified a bit
- The HAVE_CURL symbol help text synced
@petk petk merged commit 09d61b6 into php:master Jul 14, 2024
11 checks passed
@petk petk deleted the patch-curl-ssl branch July 14, 2024 01:55
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.

3 participants