From: <abe...@us...> - 2011-12-13 23:38:05
|
Revision: 5306 http://astlinux.svn.sourceforge.net/astlinux/?rev=5306&view=rev Author: abelbeck Date: 2011-12-13 23:37:59 +0000 (Tue, 13 Dec 2011) Log Message: ----------- php, add 'curl' extension support, disabled by default, Thanks David. Modified Paths: -------------- branches/1.0/astlinux.config branches/1.0/astlinux18.config branches/1.0/package/php/Config.ext branches/1.0/package/php/php.mk Modified: branches/1.0/astlinux.config =================================================================== --- branches/1.0/astlinux.config 2011-12-13 22:41:14 UTC (rev 5305) +++ branches/1.0/astlinux.config 2011-12-13 23:37:59 UTC (rev 5306) @@ -1,7 +1,7 @@ # # Automatically generated make config: don't edit -# Buildroot 2011.08-svn5291-dirty Configuration -# Tue Dec 6 18:41:04 2011 +# Buildroot 2011.08-svn5305-dirty Configuration +# Tue Dec 13 17:31:51 2011 # BR2_HAVE_DOT_CONFIG=y # BR2_arm is not set @@ -435,6 +435,7 @@ # BR2_PACKAGE_PHP_EXT_SPL is not set BR2_PACKAGE_PHP_EXT_SESSION=y BR2_PACKAGE_PHP_EXT_OPENSSL=y +# BR2_PACKAGE_PHP_EXT_CURL is not set # BR2_PACKAGE_PHP_EXT_LIBXML2 is not set # BR2_PACKAGE_PHP_EXT_SIMPLEXML is not set # BR2_PACKAGE_PHP_EXT_ZLIB is not set Modified: branches/1.0/astlinux18.config =================================================================== --- branches/1.0/astlinux18.config 2011-12-13 22:41:14 UTC (rev 5305) +++ branches/1.0/astlinux18.config 2011-12-13 23:37:59 UTC (rev 5306) @@ -1,7 +1,7 @@ # # Automatically generated make config: don't edit -# Buildroot 2011.08-svn5291-dirty Configuration -# Tue Dec 6 18:41:07 2011 +# Buildroot 2011.08-svn5305-dirty Configuration +# Tue Dec 13 17:31:54 2011 # BR2_HAVE_DOT_CONFIG=y # BR2_arm is not set @@ -430,6 +430,7 @@ # BR2_PACKAGE_PHP_EXT_SPL is not set BR2_PACKAGE_PHP_EXT_SESSION=y BR2_PACKAGE_PHP_EXT_OPENSSL=y +# BR2_PACKAGE_PHP_EXT_CURL is not set # BR2_PACKAGE_PHP_EXT_LIBXML2 is not set # BR2_PACKAGE_PHP_EXT_SIMPLEXML is not set # BR2_PACKAGE_PHP_EXT_ZLIB is not set Modified: branches/1.0/package/php/Config.ext =================================================================== --- branches/1.0/package/php/Config.ext 2011-12-13 22:41:14 UTC (rev 5305) +++ branches/1.0/package/php/Config.ext 2011-12-13 23:37:59 UTC (rev 5306) @@ -36,6 +36,12 @@ help openssl support +config BR2_PACKAGE_PHP_EXT_CURL + bool "curl" + select BR2_PACKAGE_LIBCURL + help + curl support + config BR2_PACKAGE_PHP_EXT_LIBXML2 bool "xml2" select BR2_PACKAGE_LIBXML2 Modified: branches/1.0/package/php/php.mk =================================================================== --- branches/1.0/package/php/php.mk 2011-12-13 22:41:14 UTC (rev 5305) +++ branches/1.0/package/php/php.mk 2011-12-13 23:37:59 UTC (rev 5306) @@ -59,6 +59,11 @@ PHP_DEPENDENCIES += openssl endif +ifeq ($(BR2_PACKAGE_PHP_EXT_CURL),y) + PHP_CONF_OPT += --with-curl=$(STAGING_DIR)/usr + PHP_DEPENDENCIES += libcurl +endif + ifeq ($(BR2_PACKAGE_PHP_EXT_LIBXML2),y) PHP_CONF_OPT += --enable-libxml \ --with-libxml-dir=${STAGING_DIR}/usr \ This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |