com php-src: make simplexml headers available to the outta world: ext/simplexml/config.m4 ext/simplexml/config.w32

From: Date: Mon, 29 Jul 2013 20:18:55 +0000
Subject: com php-src: make simplexml headers available to the outta world: ext/simplexml/config.m4 ext/simplexml/config.w32
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-72767@lists.php.net to get a copy of this message
Commit: 5e1ac558c3354f98a9a5aecb5b518c46cd55357a Author: Anatol Belski <ab@php.net> Mon, 29 Jul 2013 22:18:55 +0200 Parents: 294335761b75d13d374312d9074d1f9270f69267 Branches: master Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=5e1ac558c3354f98a9a5aecb5b518c46cd55357a Log: make simplexml headers available to the outta world Changed paths: M ext/simplexml/config.m4 M ext/simplexml/config.w32 Diff: diff --git a/ext/simplexml/config.m4 b/ext/simplexml/config.m4 index 2145e23..5b8c11d 100644 --- a/ext/simplexml/config.m4 +++ b/ext/simplexml/config.m4 @@ -18,6 +18,7 @@ if test "$PHP_SIMPLEXML" != "no"; then PHP_SETUP_LIBXML(SIMPLEXML_SHARED_LIBADD, [ AC_DEFINE(HAVE_SIMPLEXML,1,[ ]) PHP_NEW_EXTENSION(simplexml, simplexml.c sxe.c, $ext_shared) + PHP_INSTALL_HEADERS([ext/simplexml/php_simplexml.h ext/simplexml/php_simplexml_exports.h]) PHP_SUBST(SIMPLEXML_SHARED_LIBADD) ], [ AC_MSG_ERROR([xml2-config not found.. Please check your libxml2 installation.]) diff --git a/ext/simplexml/config.w32 b/ext/simplexml/config.w32 index 2d2ed28..a02f3dd 100644 --- a/ext/simplexml/config.w32 +++ b/ext/simplexml/config.w32 @@ -16,6 +16,7 @@ if (PHP_SIMPLEXML == "yes") { MESSAGE("\tSPL support in simplexml disabled"); } ADD_FLAG("CFLAGS_SIMPLEXML", "/D PHP_SIMPLEXML_EXPORTS "); + PHP_INSTALL_HEADERS("ext/simplexml/", "php_simplexml.h php_simplexml_exports.h"); } else { PHP_SIMPLEXML = "no"; WARNING("simplexml not enabled; libraries and headers not found");

« previous php.cvs (#72767) next »