Annotation of embedaddon/php/ext/xmlwriter/config.m4, revision 1.1
1.1 ! misho 1: dnl
! 2: dnl $Id: config.m4 201989 2005-12-04 00:21:39Z tony2001 $
! 3: dnl
! 4:
! 5: PHP_ARG_ENABLE(xmlwriter, whether to enable XMLWriter support,
! 6: [ --disable-xmlwriter Disable XMLWriter 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 XMLWriter: libxml2 install prefix], no, no)
! 11: fi
! 12:
! 13: if test "$PHP_XMLWRITER" != "no"; then
! 14:
! 15: if test "$PHP_LIBXML" = "no"; then
! 16: AC_MSG_ERROR([XMLWriter extension requires LIBXML extension, add --enable-libxml])
! 17: fi
! 18:
! 19: PHP_SETUP_LIBXML(XMLWRITER_SHARED_LIBADD, [
! 20: AC_DEFINE(HAVE_XMLWRITER,1,[ ])
! 21: PHP_NEW_EXTENSION(xmlwriter, php_xmlwriter.c, $ext_shared)
! 22: PHP_SUBST(XMLWRITER_SHARED_LIBADD)
! 23: ], [
! 24: AC_MSG_ERROR([xml2-config not found. Please check your libxml2 installation.])
! 25: ])
! 26: fi
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>