Annotation of embedaddon/php/ext/simplexml/config.w32, revision 1.1
1.1 ! misho 1: // $Id: config.w32 295508 2010-02-25 17:08:17Z kalle $
! 2: // vim:ft=javascript
! 3:
! 4: ARG_WITH("simplexml", "Simple XML support", "yes");
! 5:
! 6: if (PHP_SIMPLEXML == "yes") {
! 7: if(PHP_LIBXML == "yes"
! 8: && ADD_EXTENSION_DEP('simplexml', 'libxml')) {
! 9: EXTENSION("simplexml", "simplexml.c sxe.c");
! 10: AC_DEFINE("HAVE_SIMPLEXML", 1, "Simple XML support");
! 11: if (!PHP_SIMPLEXML_SHARED) {
! 12: ADD_FLAG("CFLAGS_SIMPLEXML", "/D LIBXML_STATIC");
! 13: }
! 14:
! 15: if (!ADD_EXTENSION_DEP('simplexml', 'spl', true)) {
! 16: MESSAGE("\tSPL support in simplexml disabled");
! 17: }
! 18: ADD_FLAG("CFLAGS_SIMPLEXML", "/D PHP_SIMPLEXML_EXPORTS ");
! 19: } else {
! 20: PHP_SIMPLEXML = "no";
! 21: WARNING("simplexml not enabled; libraries and headers not found");
! 22: }
! 23: }
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>