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.
1 parent dc379b9 commit 4334f66Copy full SHA for 4334f66
ext/xml/config.m4
@@ -20,7 +20,9 @@ if test "$PHP_XML" != "no"; then
20
PHP_SETUP_LIBXML(XML_SHARED_LIBADD, [
21
xml_sources="xml.c compat.c"
22
], [
23
- AC_MSG_ERROR(xml2-config not found. Use --with-libxml-dir=<DIR>)
+ if test "$PHP_EXPAT_DIR" = "no"; then
24
+ AC_MSG_ERROR(xml2-config not found. Use --with-libxml-dir=<DIR>)
25
+ fi
26
])
27
28
if test "$PHP_EXPAT_DIR" != "no"; then
0 commit comments