Annotation of embedaddon/php/ext/xmlreader/config.m4, revision 1.1

1.1     ! misho       1: dnl
        !             2: dnl $Id: config.m4 203045 2005-12-17 15:40:37Z helly $
        !             3: dnl
        !             4: 
        !             5: PHP_ARG_ENABLE(xmlreader, whether to enable XMLReader support,
        !             6: [  --disable-xmlreader     Disable XMLReader support], yes)
        !             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: 
        !            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
        !            18: 
        !            19:   PHP_SETUP_LIBXML(XMLREADER_SHARED_LIBADD, [
        !            20:     AC_DEFINE(HAVE_XMLREADER,1,[ ])
        !            21:     PHP_NEW_EXTENSION(xmlreader, php_xmlreader.c, $ext_shared)
        !            22:     PHP_ADD_EXTENSION_DEP(xmlreader, dom, true)
        !            23:     PHP_SUBST(XMLREADER_SHARED_LIBADD)
        !            24:   ], [
        !            25:     AC_MSG_ERROR([xml2-config not found. Please check your libxml2 installation.])
        !            26:   ])
        !            27: fi

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>