summaryrefslogtreecommitdiffstats
path: root/package/php/Config.ext
diff options
context:
space:
mode:
authorPeter Korsgaard <jacmet@sunsite.dk>2009-03-04 20:58:08 +0000
committerPeter Korsgaard <jacmet@sunsite.dk>2009-03-04 20:58:08 +0000
commit7685dd41e1fe71ab80be283a4fac1671678dbad6 (patch)
tree66e88ae58efb4ac7d7c7640abf5fb52f0cf9bef1 /package/php/Config.ext
parent4617e1d08064e92f4b1c32916760697157c1ecf8 (diff)
downloadbuildroot-novena-7685dd41e1fe71ab80be283a4fac1671678dbad6.tar.gz
buildroot-novena-7685dd41e1fe71ab80be283a4fac1671678dbad6.zip
php: convert to Makefile.autotools.in and other improvements
Patch by Gustavo Zacarias <gustavo@zacarias.com.ar> Closes #5, #77, #141 and #143. * Migrate php package to Makefile.autotools.in * Make PCRE regex an option (previously forced on) * Add calendar option from bug #77 * Add external sqlite3 option from bug #141 New option BR2_PACKAGE_PHP_PDO_SQLITE_EXTERNAL * Add alternate php.ini configuration option from bug #5 Named BR2_PACKAGE_PHP_CONFIG and defaults to shipped config. In most scenarios the shipped config isn't good enough, it has a high memory limit for embedded for example. * Changed some options from depends to select Namely openssl, libxml2, zlib, gettext, gmp. * Disabled some 'y' defaults to make things lighter by default Namely libxml2, sqlite, pdo and pdo_sqlite. * Made some of the extensions help text more verbose
Diffstat (limited to 'package/php/Config.ext')
-rw-r--r--package/php/Config.ext56
1 files changed, 38 insertions, 18 deletions
diff --git a/package/php/Config.ext b/package/php/Config.ext
index c5bb16ac3..9b53e872b 100644
--- a/package/php/Config.ext
+++ b/package/php/Config.ext
@@ -1,5 +1,12 @@
menu "PHP Extensions"
+config BR2_PACKAGE_PHP_CONFIG
+ string "PHP configuration file to use"
+ default "$(PHP_DIR)/php.ini-dist"
+ help
+ If you want to use a different php.ini file define it here.
+ Otherwise it'll just copy the default php.ini-dist from PHP.
+
config BR2_PACKAGE_PHP_EXT_SOCKETS
bool "socket"
help
@@ -15,7 +22,7 @@ config BR2_PACKAGE_PHP_EXT_SPL
bool "SPL"
default y
help
- SPL support
+ Standard PHP library support
config BR2_PACKAGE_PHP_EXT_SESSION
bool "Session"
@@ -25,16 +32,15 @@ config BR2_PACKAGE_PHP_EXT_SESSION
config BR2_PACKAGE_PHP_EXT_OPENSSL
bool "openssl"
- depends on BR2_PACKAGE_OPENSSL
+ select BR2_PACKAGE_OPENSSL
help
openssl support
config BR2_PACKAGE_PHP_EXT_LIBXML2
bool "xml2"
- depends on BR2_PACKAGE_LIBXML2
- default y
+ select BR2_PACKAGE_LIBXML2
help
- xml support
+ libxml2 support
config BR2_PACKAGE_PHP_EXT_SIMPLEXML
bool "simplexml"
@@ -44,7 +50,7 @@ config BR2_PACKAGE_PHP_EXT_SIMPLEXML
config BR2_PACKAGE_PHP_EXT_ZLIB
bool "zlib"
- depends on BR2_PACKAGE_ZLIB
+ select BR2_PACKAGE_ZLIB
default y
help
zlib support
@@ -61,20 +67,20 @@ config BR2_PACKAGE_PHP_EXT_FTP
config BR2_PACKAGE_PHP_EXT_GETTEXT
bool "gettext"
- depends on BR2_PACKAGE_GETTEXT
+ select BR2_PACKAGE_GETTEXT
help
gettext support
config BR2_PACKAGE_PHP_EXT_GMP
bool "gmp"
- depends on BR2_PACKAGE_LIBGMP
+ select BR2_PACKAGE_LIBGMP
help
GMP support
config BR2_PACKAGE_PHP_EXT_JSON
bool "JSON"
help
- JSON support
+ JavaScript Object Serialization support
config BR2_PACKAGE_PHP_EXT_READLINE
bool "readline"
@@ -88,6 +94,11 @@ config BR2_PACKAGE_PHP_EXT_NCURSES
help
ncurses support
+config BR2_PACKAGE_PHP_EXT_PCRE
+ bool "PCRE"
+ help
+ Perl Compatible Regular Expressions support
+
config BR2_PACKAGE_PHP_EXT_SYSVMSG
bool "sysvmsg - System V Message queue"
help
@@ -106,20 +117,24 @@ config BR2_PACKAGE_PHP_EXT_SYSVSHM
config BR2_PACKAGE_PHP_EXT_ZIP
bool "zip"
help
- Zip Support
+ Zip read/write support
config BR2_PACKAGE_PHP_EXT_FILTER
bool "filter"
help
Input filter support
+config BR2_PACKAGE_PHP_EXT_CALENDAR
+ bool "calendar"
+ help
+ Calendar and event support
+
comment "Database extensions"
config BR2_PACKAGE_PHP_EXT_SQLITE
- bool "sqlite"
- default y
+ bool "SQLite"
help
- SQLite
+ Legacy SQLite2 support
config BR2_PACKAGE_PHP_EXT_SQLITE_UTF8
bool "sqlite UTF8 support"
@@ -129,22 +144,27 @@ config BR2_PACKAGE_PHP_EXT_SQLITE_UTF8
config BR2_PACKAGE_PHP_EXT_PDO
bool "PDO"
- default y
help
- PDO support
+ PHP Data Objects support
config BR2_PACKAGE_PHP_EXT_PDO_SQLITE
bool "PDO_SQLite"
depends on BR2_PACKAGE_PHP_EXT_PDO
- default y
help
- SQLite support for PDO
+ SQLite driver for PDO
+
+config BR2_PACKAGE_PHP_EXT_PDO_SQLITE_EXTERNAL
+ bool "PDO_SQLite external"
+ depends on BR2_PACKAGE_PHP_EXT_PDO_SQLITE
+ select BR2_PACKAGE_SQLITE
+ help
+ Use external sqlite3 library
config BR2_PACKAGE_PHP_EXT_PDO_MYSQL
bool "PDO_MySQL"
depends on BR2_PACKAGE_PHP_EXT_PDO
select BR2_PACKAGE_MYSQL_CLIENT
help
- MySQL support for PDO
+ PDO driver for MySQL
endmenu