File:  [ELWIX - Embedded LightWeight unIX -] / embedaddon / php / ext / xmlreader / config.m4
Revision 1.1.1.2 (vendor branch): download - view: text, annotated - select for diffs - revision graph
Tue May 29 12:34:45 2012 UTC (12 years, 1 month ago) by misho
Branches: php, MAIN
CVS tags: v5_4_3elwix, v5_4_29p0, v5_4_29, v5_4_20p0, v5_4_20, v5_4_17p0, v5_4_17, HEAD
php 5.4.3+patches

    1: dnl
    2: dnl $Id: config.m4,v 1.1.1.2 2012/05/29 12:34:45 misho Exp $
    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>