Config.ext 8.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429
  1. menu "Extensions"
  2. config BR2_PACKAGE_PHP_EXT_CALENDAR
  3. bool "Calendar"
  4. help
  5. Calendar and event support
  6. config BR2_PACKAGE_PHP_EXT_FILEINFO
  7. bool "Fileinfo"
  8. help
  9. File Information support
  10. comment "OPcache needs a toolchain w/ dynamic library"
  11. depends on BR2_STATIC_LIBS
  12. config BR2_PACKAGE_PHP_EXT_OPCACHE
  13. bool "OPcache"
  14. depends on !BR2_STATIC_LIBS
  15. help
  16. Enable the Zend OPcache accelerator.
  17. comment "Readline needs a toolchain w/ dynamic library"
  18. depends on BR2_STATIC_LIBS
  19. config BR2_PACKAGE_PHP_EXT_READLINE
  20. bool "Readline"
  21. depends on !BR2_STATIC_LIBS
  22. select BR2_PACKAGE_NCURSES
  23. select BR2_PACKAGE_READLINE
  24. help
  25. Readline support
  26. config BR2_PACKAGE_PHP_EXT_SESSION
  27. bool "Session"
  28. default y
  29. help
  30. Session support
  31. comment "Compression extensions"
  32. config BR2_PACKAGE_PHP_EXT_BZIP2
  33. bool "bzip2"
  34. select BR2_PACKAGE_BZIP2
  35. help
  36. bzip2 read/write support
  37. config BR2_PACKAGE_PHP_EXT_PHAR
  38. bool "phar"
  39. help
  40. PHP Archive support
  41. comment "zip needs a toolchain w/ dynamic library"
  42. depends on BR2_STATIC_LIBS
  43. config BR2_PACKAGE_PHP_EXT_ZIP
  44. bool "zip"
  45. depends on !BR2_STATIC_LIBS # libzip
  46. select BR2_PACKAGE_ZLIB
  47. select BR2_PACKAGE_LIBZIP
  48. help
  49. Zip read/write support
  50. config BR2_PACKAGE_PHP_EXT_ZLIB
  51. bool "zlib"
  52. default y
  53. select BR2_PACKAGE_ZLIB
  54. help
  55. zlib support
  56. comment "Cryptography extensions"
  57. comment "libargon2 needs a toolchain w/ dynamic library"
  58. depends on BR2_USE_MMU
  59. depends on BR2_STATIC_LIBS
  60. config BR2_PACKAGE_PHP_EXT_LIBARGON2
  61. bool "libargon2"
  62. depends on BR2_USE_MMU # libargon2
  63. depends on !BR2_STATIC_LIBS # libargon2
  64. select BR2_PACKAGE_LIBARGON2
  65. help
  66. libargon2 support
  67. config BR2_PACKAGE_PHP_EXT_LIBSODIUM
  68. bool "libsodium"
  69. select BR2_PACKAGE_LIBSODIUM
  70. help
  71. libsodium support
  72. config BR2_PACKAGE_PHP_EXT_OPENSSL
  73. bool "openssl"
  74. select BR2_PACKAGE_OPENSSL
  75. select BR2_PACKAGE_LIBOPENSSL_ENABLE_DES if BR2_PACKAGE_LIBOPENSSL
  76. select BR2_PACKAGE_LIBOPENSSL_ENABLE_MD4 if BR2_PACKAGE_LIBOPENSSL
  77. select BR2_PACKAGE_LIBOPENSSL_ENABLE_RC4 if BR2_PACKAGE_LIBOPENSSL
  78. select BR2_PACKAGE_LIBOPENSSL_ENABLE_RMD160 if BR2_PACKAGE_LIBOPENSSL
  79. help
  80. openssl support
  81. comment "Database extensions"
  82. config BR2_PACKAGE_PHP_EXT_DBA
  83. bool "DBA"
  84. help
  85. Database Abstraction Layer
  86. if BR2_PACKAGE_PHP_EXT_DBA
  87. config BR2_PACKAGE_PHP_EXT_DBA_CDB
  88. bool "cdb"
  89. help
  90. CDB handler
  91. config BR2_PACKAGE_PHP_EXT_DBA_DB4
  92. bool "db4/5"
  93. select BR2_PACKAGE_BERKELEYDB
  94. help
  95. BerkeleyDB version 4/5 handler
  96. config BR2_PACKAGE_PHP_EXT_DBA_FLAT
  97. bool "flat"
  98. default y
  99. help
  100. Flat file handler
  101. config BR2_PACKAGE_PHP_EXT_DBA_INI
  102. bool "ini"
  103. default y
  104. help
  105. INI file handler
  106. endif
  107. config BR2_PACKAGE_PHP_EXT_MYSQLI
  108. bool "Mysqli"
  109. help
  110. MySQL Improved extension support
  111. config BR2_PACKAGE_PHP_EXT_PGSQL
  112. bool "PostgreSQL"
  113. depends on BR2_USE_MMU # postgresql
  114. depends on BR2_USE_WCHAR # postgresql
  115. depends on BR2_ENABLE_LOCALE # postgresql
  116. depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL # postgresql
  117. depends on !BR2_STATIC_LIBS # postgresql
  118. depends on !BR2_OPTIMIZE_FAST # postgresql
  119. select BR2_PACKAGE_POSTGRESQL
  120. help
  121. PostgreSQL support
  122. comment "PostgreSQL extension needs a toolchain w/ dynamic library, wchar"
  123. depends on BR2_USE_MMU
  124. depends on BR2_STATIC_LIBS || !BR2_USE_WCHAR
  125. comment "PostgreSQL extension can't be built with Optimize for fast"
  126. depends on BR2_OPTIMIZE_FAST
  127. config BR2_PACKAGE_PHP_EXT_SQLITE
  128. bool "SQLite3"
  129. select BR2_PACKAGE_SQLITE
  130. help
  131. SQLite3 support
  132. config BR2_PACKAGE_PHP_EXT_PDO
  133. bool "PDO"
  134. help
  135. PHP Data Objects support
  136. if BR2_PACKAGE_PHP_EXT_PDO
  137. config BR2_PACKAGE_PHP_EXT_PDO_MYSQL
  138. bool "MySQL"
  139. help
  140. PDO driver for MySQL
  141. config BR2_PACKAGE_PHP_EXT_PDO_POSTGRESQL
  142. bool "PostgreSQL"
  143. depends on BR2_USE_MMU # postgresql
  144. depends on BR2_USE_WCHAR # postgresql
  145. depends on BR2_ENABLE_LOCALE # postgresql
  146. depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL # postgresql
  147. depends on !BR2_STATIC_LIBS # postgresql
  148. depends on !BR2_OPTIMIZE_FAST # postgresql
  149. select BR2_PACKAGE_POSTGRESQL
  150. help
  151. PDO driver for PostgreSQL
  152. comment "PostgreSQL drivers need a toolchain w/ wchar, dynamic library"
  153. depends on BR2_USE_MMU
  154. depends on BR2_STATIC_LIBS || !BR2_USE_WCHAR
  155. comment "PostgreSQL drivers can't be built with Optimize for fast"
  156. depends on BR2_OPTIMIZE_FAST
  157. config BR2_PACKAGE_PHP_EXT_PDO_SQLITE
  158. bool "SQLite3"
  159. select BR2_PACKAGE_SQLITE
  160. help
  161. SQLite3 driver for PDO
  162. config BR2_PACKAGE_PHP_EXT_PDO_UNIXODBC
  163. bool "unixODBC"
  164. depends on !BR2_STATIC_LIBS # unixodbc
  165. select BR2_PACKAGE_UNIXODBC
  166. help
  167. unixODBC driver for PDO
  168. comment "unixodbc driver needs a toolchain w/ dynamic library"
  169. depends on BR2_STATIC_LIBS
  170. endif
  171. comment "Human language and character encoding support"
  172. config BR2_PACKAGE_PHP_EXT_GETTEXT
  173. bool "Gettext"
  174. depends on BR2_SYSTEM_ENABLE_NLS
  175. help
  176. Gettext support
  177. comment "Gettext support needs NLS enabled"
  178. depends on !BR2_SYSTEM_ENABLE_NLS
  179. config BR2_PACKAGE_PHP_EXT_ICONV
  180. bool "iconv"
  181. select BR2_PACKAGE_LIBICONV if !BR2_ENABLE_LOCALE
  182. help
  183. iconv character set conversion support
  184. config BR2_PACKAGE_PHP_EXT_INTL
  185. bool "intl"
  186. depends on BR2_HOST_GCC_AT_LEAST_4_9 # icu
  187. depends on BR2_INSTALL_LIBSTDCPP
  188. depends on BR2_USE_WCHAR
  189. depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # icu
  190. depends on !BR2_BINFMT_FLAT # icu
  191. depends on BR2_TOOLCHAIN_HAS_THREADS # icu
  192. depends on !BR2_STATIC_LIBS
  193. select BR2_PACKAGE_ICU
  194. help
  195. Internationalization support
  196. comment "intl support needs a toolchain w/ C++, wchar, threads, dynamic library, gcc >= 4.9, host gcc >= 4.9"
  197. depends on !BR2_BINFMT_FLAT
  198. depends on !BR2_INSTALL_LIBSTDCPP || !BR2_USE_WCHAR || \
  199. !BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS || \
  200. !BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 || \
  201. !BR2_HOST_GCC_AT_LEAST_4_9
  202. config BR2_PACKAGE_PHP_EXT_MBSTRING
  203. bool "mbstring"
  204. select BR2_PACKAGE_ONIGURUMA
  205. help
  206. multibyte string support
  207. comment "Image processing"
  208. config BR2_PACKAGE_PHP_EXT_EXIF
  209. bool "EXIF"
  210. help
  211. EXIF support
  212. config BR2_PACKAGE_PHP_EXT_GD
  213. bool "GD"
  214. select BR2_PACKAGE_FREETYPE
  215. select BR2_PACKAGE_JPEG
  216. select BR2_PACKAGE_LIBPNG
  217. select BR2_PACKAGE_ZLIB
  218. help
  219. GD support
  220. comment "Mathematical extensions"
  221. config BR2_PACKAGE_PHP_EXT_BCMATH
  222. bool "BC math"
  223. help
  224. BCMath arbitrary precision mathematics support
  225. config BR2_PACKAGE_PHP_EXT_GMP
  226. bool "GMP"
  227. select BR2_PACKAGE_GMP
  228. help
  229. GNU Multiple Precision support
  230. comment "Other basic extensions"
  231. config BR2_PACKAGE_PHP_EXT_TOKENIZER
  232. bool "Tokenizer"
  233. help
  234. Tokenizer functions support
  235. comment "Other services"
  236. config BR2_PACKAGE_PHP_EXT_CURL
  237. bool "cURL"
  238. select BR2_PACKAGE_LIBCURL
  239. help
  240. cURL for URL streams
  241. config BR2_PACKAGE_PHP_EXT_FTP
  242. bool "FTP"
  243. help
  244. FTP support
  245. config BR2_PACKAGE_PHP_EXT_SNMP
  246. bool "SNMP"
  247. depends on BR2_USE_MMU # netsnmp fork()
  248. select BR2_PACKAGE_NETSNMP
  249. select BR2_PACKAGE_NETSNMP_ENABLE_MIBS
  250. help
  251. SNMP support
  252. config BR2_PACKAGE_PHP_EXT_SOCKETS
  253. bool "sockets"
  254. help
  255. Sockets support
  256. comment "Process Control"
  257. config BR2_PACKAGE_PHP_EXT_PCNTL
  258. bool "PCNTL"
  259. depends on BR2_USE_MMU # fork()
  260. help
  261. Process control support
  262. config BR2_PACKAGE_PHP_EXT_POSIX
  263. bool "Posix"
  264. default y
  265. help
  266. POSIX.1 (IEEE 1003.1) function support
  267. config BR2_PACKAGE_PHP_EXT_SHMOP
  268. bool "shmop"
  269. help
  270. Shared memory support
  271. config BR2_PACKAGE_PHP_EXT_SYSVMSG
  272. bool "sysvmsg"
  273. help
  274. System V message queue support
  275. config BR2_PACKAGE_PHP_EXT_SYSVSEM
  276. bool "sysvsem"
  277. help
  278. System V semaphore support
  279. config BR2_PACKAGE_PHP_EXT_SYSVSHM
  280. bool "sysvshm"
  281. help
  282. System V shared memory support
  283. comment "Variable and Type related"
  284. config BR2_PACKAGE_PHP_EXT_CTYPE
  285. bool "Ctype"
  286. help
  287. Character type checking support
  288. config BR2_PACKAGE_PHP_EXT_FILTER
  289. bool "Filter"
  290. help
  291. Input filter support
  292. comment "Web services"
  293. config BR2_PACKAGE_PHP_EXT_SOAP
  294. bool "SOAP"
  295. select BR2_PACKAGE_PHP_EXT_LIBXML2
  296. help
  297. SOAP support
  298. comment "XML manipulation"
  299. config BR2_PACKAGE_PHP_EXT_DOM
  300. bool "DOM"
  301. select BR2_PACKAGE_PHP_EXT_LIBXML2
  302. help
  303. Document Object Model support
  304. config BR2_PACKAGE_PHP_EXT_LIBXML2
  305. bool "libxml"
  306. select BR2_PACKAGE_LIBXML2
  307. help
  308. libxml2 support
  309. config BR2_PACKAGE_PHP_EXT_SIMPLEXML
  310. bool "SimpleXML"
  311. select BR2_PACKAGE_PHP_EXT_LIBXML2
  312. help
  313. SimpleXML support
  314. config BR2_PACKAGE_PHP_EXT_XML
  315. bool "XML Parser"
  316. select BR2_PACKAGE_PHP_EXT_LIBXML2
  317. help
  318. XML Parser support
  319. config BR2_PACKAGE_PHP_EXT_XMLREADER
  320. bool "XMLReader"
  321. select BR2_PACKAGE_PHP_EXT_LIBXML2
  322. help
  323. XMLReader support
  324. config BR2_PACKAGE_PHP_EXT_XMLWRITER
  325. bool "XMLWriter"
  326. select BR2_PACKAGE_PHP_EXT_LIBXML2
  327. help
  328. XMLWriter support
  329. config BR2_PACKAGE_PHP_EXT_XSL
  330. bool "XSL"
  331. select BR2_PACKAGE_PHP_EXT_DOM
  332. select BR2_PACKAGE_PHP_EXT_LIBXML2
  333. select BR2_PACKAGE_LIBXSLT
  334. help
  335. XSL transformation support
  336. config BR2_PACKAGE_PHP_EXT_FFI
  337. bool "FFI"
  338. depends on !BR2_STATIC_LIBS
  339. depends on BR2_TOOLCHAIN_HAS_THREADS
  340. select BR2_PACKAGE_LIBFFI
  341. help
  342. Foreign Function Interface support
  343. comment "PHP FFI extension needs a toolchain w/ threads, dynamic library"
  344. depends on !BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS
  345. endmenu