Skip to content

Commit 1299376

Browse files
committed
Merge branch 'PHP-8.4'
2 parents 010fe2b + 0fc3a2e commit 1299376

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

ext/tidy/config.m4

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,9 @@ if test "$PHP_TIDY" != "no"; then
5757
[],
5858
[-L$TIDY_LIBDIR])
5959

60-
PHP_CHECK_LIBRARY([$TIDY_LIB_NAME], [tidyOptGetCategory],
60+
dnl The tidyOptGetCategory function (added in libtidy 5.4.0) if only useable
61+
dnl if TidyInternalCategory (added in libtidy 5.6.0) is also present.
62+
PHP_CHECK_LIBRARY([$TIDY_LIB_NAME], [tidyInternalCategory],
6163
[AC_DEFINE([HAVE_TIDYOPTGETCATEGORY], [1],
6264
[Define to 1 if Tidy library has the 'tidyOptGetCategory' function.])],
6365
[],

0 commit comments

Comments
 (0)