Skip to content

Update preprocessor macros help texts for enchant and snmp extensions #15255

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
Aug 6, 2024

Conversation

petk
Copy link
Member

@petk petk commented Aug 6, 2024

Follow-up of previous AC_DEFINE syncs to have better overview of what some macro is about.

@@ -12,7 +12,8 @@ if test "$PHP_ENCHANT" != "no"; then
PHP_EVAL_INCLINE([$ENCHANT2_CFLAGS])
PHP_EVAL_LIBLINE([$ENCHANT2_LIBS], [ENCHANT_SHARED_LIBADD])
AC_DEFINE([HAVE_ENCHANT_GET_VERSION], [1],
[enchant_get_version since 1.6.0])
[Define to 1 if Enchant library has the 'enchant_get_version' function
(available since 1.6.0).])
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

seems enchant is the only extension having this kind of info.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think it is kind of useful info to know in which version the function was added without the need to browse the library changelog...

@petk petk merged commit 5fc68d8 into php:master Aug 6, 2024
2 checks passed
@petk petk deleted the patch-AC_DEFINE-3 branch August 6, 2024 21:22
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.

2 participants