We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 010fe2b + 0fc3a2e commit 1299376Copy full SHA for 1299376
ext/tidy/config.m4
@@ -57,7 +57,9 @@ if test "$PHP_TIDY" != "no"; then
57
[],
58
[-L$TIDY_LIBDIR])
59
60
- PHP_CHECK_LIBRARY([$TIDY_LIB_NAME], [tidyOptGetCategory],
+ 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],
63
[AC_DEFINE([HAVE_TIDYOPTGETCATEGORY], [1],
64
[Define to 1 if Tidy library has the 'tidyOptGetCategory' function.])],
65
0 commit comments