Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 28 lines (22 sloc) 0.804 kb
5094e4e initial revision
Rob Richards authored
1 dnl
2 dnl $Id$
3 dnl
4
8ae898f - Use correct configure option style. Enabled by default.
foobar authored
5 PHP_ARG_ENABLE(xmlreader, whether to enable XMLReader support,
6 [ --disable-xmlreader Disable XMLReader support], yes)
5094e4e initial revision
Rob Richards authored
7
8 if test -z "$PHP_LIBXML_DIR"; then
9 PHP_ARG_WITH(libxml-dir, libxml2 install dir,
10 [ --with-libxml-dir=DIR XMLReader: libxml2 install prefix], no, no)
11 fi
12
39bcbfc - Made the libxml related stuff to error out if someone does --disable-a...
foobar authored
13 if test "$PHP_XMLREADER" != "no"; then
14
15 if test "$PHP_LIBXML" = "no"; then
16 AC_MSG_ERROR([XMLReader extension requires LIBXML extension, add --enable-libxml])
17 fi
5094e4e initial revision
Rob Richards authored
18
19 PHP_SETUP_LIBXML(XMLREADER_SHARED_LIBADD, [
20 AC_DEFINE(HAVE_XMLREADER,1,[ ])
21 PHP_NEW_EXTENSION(xmlreader, php_xmlreader.c, $ext_shared)
9360c2a - MFB Add optional dependency to ext/dom
Marcus Boerger authored
22 PHP_ADD_EXTENSION_DEP(xmlreader, dom, true)
5094e4e initial revision
Rob Richards authored
23 PHP_SUBST(XMLREADER_SHARED_LIBADD)
24 ], [
25 AC_MSG_ERROR([xml2-config not found. Please check your libxml2 installation.])
26 ])
27 fi
Something went wrong with that request. Please try again.