diff options
| author | Hugh McMaster <hugh.mcmaster@outlook.com> | 2019-04-17 21:07:15 +1000 |
|---|---|---|
| committer | Nikita Popov <nikita.ppv@gmail.com> | 2019-04-18 13:04:54 +0200 |
| commit | cc930cdd75cc67f1f96177c0b24c2b1318680a78 (patch) | |
| tree | 588c7850542f3934ef55b31692cac775a8c498ba /ext/simplexml | |
| parent | 29d1b7fd521af288e9f04d784f59a2d15b494a30 (diff) | |
| download | php-git-cc930cdd75cc67f1f96177c0b24c2b1318680a78.tar.gz | |
Use PKG_CHECK_MODULES to detect libxml2
Diffstat (limited to 'ext/simplexml')
| -rw-r--r-- | ext/simplexml/config.m4 | 2 |
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) |
