summaryrefslogtreecommitdiff
path: root/ext/simplexml
diff options
context:
space:
mode:
authorHugh McMaster <hugh.mcmaster@outlook.com>2019-04-17 21:07:15 +1000
committerNikita Popov <nikita.ppv@gmail.com>2019-04-18 13:04:54 +0200
commitcc930cdd75cc67f1f96177c0b24c2b1318680a78 (patch)
tree588c7850542f3934ef55b31692cac775a8c498ba /ext/simplexml
parent29d1b7fd521af288e9f04d784f59a2d15b494a30 (diff)
downloadphp-git-cc930cdd75cc67f1f96177c0b24c2b1318680a78.tar.gz
Use PKG_CHECK_MODULES to detect libxml2
Diffstat (limited to 'ext/simplexml')
-rw-r--r--ext/simplexml/config.m42
1 files changed, 0 insertions, 2 deletions
diff --git a/ext/simplexml/config.m4 b/ext/simplexml/config.m4
index 1db02c4da2..d9fe11f8bf 100644
--- a/ext/simplexml/config.m4
+++ b/ext/simplexml/config.m4
@@ -17,8 +17,6 @@ if test "$PHP_SIMPLEXML" != "no"; then
PHP_NEW_EXTENSION(simplexml, simplexml.c sxe.c, $ext_shared)
PHP_INSTALL_HEADERS([ext/simplexml/php_simplexml.h ext/simplexml/php_simplexml_exports.h])
PHP_SUBST(SIMPLEXML_SHARED_LIBADD)
- ], [
- AC_MSG_ERROR([libxml2 not found. Please check your libxml2 installation.])
])
PHP_ADD_EXTENSION_DEP(simplexml, libxml)
PHP_ADD_EXTENSION_DEP(simplexml, spl, true)