Config.ext 8.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425
  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_STATIC_LIBS
  115. depends on BR2_USE_WCHAR # postgresql
  116. depends on !BR2_OPTIMIZE_FAST # postgresql
  117. select BR2_PACKAGE_POSTGRESQL
  118. help
  119. PostgreSQL support
  120. comment "PostgreSQL extension needs a toolchain w/ dynamic library, wchar"
  121. depends on BR2_USE_MMU
  122. depends on BR2_STATIC_LIBS || !BR2_USE_WCHAR
  123. comment "PostgreSQL extension can't be built with Optimize for fast"
  124. depends on BR2_OPTIMIZE_FAST
  125. config BR2_PACKAGE_PHP_EXT_SQLITE
  126. bool "SQLite3"
  127. select BR2_PACKAGE_SQLITE
  128. help
  129. SQLite3 support
  130. config BR2_PACKAGE_PHP_EXT_PDO
  131. bool "PDO"
  132. help
  133. PHP Data Objects support
  134. if BR2_PACKAGE_PHP_EXT_PDO
  135. config BR2_PACKAGE_PHP_EXT_PDO_MYSQL
  136. bool "MySQL"
  137. help
  138. PDO driver for MySQL
  139. config BR2_PACKAGE_PHP_EXT_PDO_POSTGRESQL
  140. bool "PostgreSQL"
  141. depends on BR2_USE_MMU # postgresql
  142. depends on !BR2_STATIC_LIBS
  143. depends on BR2_USE_WCHAR # postgresql
  144. depends on !BR2_OPTIMIZE_FAST # postgresql
  145. select BR2_PACKAGE_POSTGRESQL
  146. help
  147. PDO driver for PostgreSQL
  148. comment "PostgreSQL drivers need a toolchain w/ wchar, dynamic library"
  149. depends on BR2_USE_MMU
  150. depends on BR2_STATIC_LIBS || !BR2_USE_WCHAR
  151. comment "PostgreSQL drivers can't be built with Optimize for fast"
  152. depends on BR2_OPTIMIZE_FAST
  153. config BR2_PACKAGE_PHP_EXT_PDO_SQLITE
  154. bool "SQLite3"
  155. select BR2_PACKAGE_SQLITE
  156. help
  157. SQLite3 driver for PDO
  158. config BR2_PACKAGE_PHP_EXT_PDO_UNIXODBC
  159. bool "unixODBC"
  160. depends on !BR2_STATIC_LIBS # unixodbc
  161. select BR2_PACKAGE_UNIXODBC
  162. help
  163. unixODBC driver for PDO
  164. comment "unixodbc driver needs a toolchain w/ dynamic library"
  165. depends on BR2_STATIC_LIBS
  166. endif
  167. comment "Human language and character encoding support"
  168. config BR2_PACKAGE_PHP_EXT_GETTEXT
  169. bool "Gettext"
  170. depends on BR2_SYSTEM_ENABLE_NLS
  171. help
  172. Gettext support
  173. comment "Gettext support needs NLS enabled"
  174. depends on !BR2_SYSTEM_ENABLE_NLS
  175. config BR2_PACKAGE_PHP_EXT_ICONV
  176. bool "iconv"
  177. select BR2_PACKAGE_LIBICONV if !BR2_ENABLE_LOCALE
  178. help
  179. iconv character set conversion support
  180. config BR2_PACKAGE_PHP_EXT_INTL
  181. bool "intl"
  182. depends on BR2_HOST_GCC_AT_LEAST_4_9 # icu
  183. depends on BR2_INSTALL_LIBSTDCPP
  184. depends on BR2_USE_WCHAR
  185. depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # icu
  186. depends on !BR2_BINFMT_FLAT # icu
  187. depends on BR2_TOOLCHAIN_HAS_THREADS # icu
  188. depends on !BR2_STATIC_LIBS
  189. select BR2_PACKAGE_ICU
  190. help
  191. Internationalization support
  192. comment "intl support needs a toolchain w/ C++, wchar, threads, dynamic library, gcc >= 4.9, host gcc >= 4.9"
  193. depends on !BR2_BINFMT_FLAT
  194. depends on !BR2_INSTALL_LIBSTDCPP || !BR2_USE_WCHAR || \
  195. !BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS || \
  196. !BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 || \
  197. !BR2_HOST_GCC_AT_LEAST_4_9
  198. config BR2_PACKAGE_PHP_EXT_MBSTRING
  199. bool "mbstring"
  200. select BR2_PACKAGE_ONIGURUMA
  201. help
  202. multibyte string support
  203. comment "Image processing"
  204. config BR2_PACKAGE_PHP_EXT_EXIF
  205. bool "EXIF"
  206. help
  207. EXIF support
  208. config BR2_PACKAGE_PHP_EXT_GD
  209. bool "GD"
  210. select BR2_PACKAGE_FREETYPE
  211. select BR2_PACKAGE_JPEG
  212. select BR2_PACKAGE_LIBPNG
  213. select BR2_PACKAGE_ZLIB
  214. help
  215. GD support
  216. comment "Mathematical extensions"
  217. config BR2_PACKAGE_PHP_EXT_BCMATH
  218. bool "BC math"
  219. help
  220. BCMath arbitrary precision mathematics support
  221. config BR2_PACKAGE_PHP_EXT_GMP
  222. bool "GMP"
  223. select BR2_PACKAGE_GMP
  224. help
  225. GNU Multiple Precision support
  226. comment "Other basic extensions"
  227. config BR2_PACKAGE_PHP_EXT_TOKENIZER
  228. bool "Tokenizer"
  229. help
  230. Tokenizer functions support
  231. comment "Other services"
  232. config BR2_PACKAGE_PHP_EXT_CURL
  233. bool "cURL"
  234. select BR2_PACKAGE_LIBCURL
  235. help
  236. cURL for URL streams
  237. config BR2_PACKAGE_PHP_EXT_FTP
  238. bool "FTP"
  239. help
  240. FTP support
  241. config BR2_PACKAGE_PHP_EXT_SNMP
  242. bool "SNMP"
  243. depends on BR2_USE_MMU # netsnmp fork()
  244. select BR2_PACKAGE_NETSNMP
  245. select BR2_PACKAGE_NETSNMP_ENABLE_MIBS
  246. help
  247. SNMP support
  248. config BR2_PACKAGE_PHP_EXT_SOCKETS
  249. bool "sockets"
  250. help
  251. Sockets support
  252. comment "Process Control"
  253. config BR2_PACKAGE_PHP_EXT_PCNTL
  254. bool "PCNTL"
  255. depends on BR2_USE_MMU # fork()
  256. help
  257. Process control support
  258. config BR2_PACKAGE_PHP_EXT_POSIX
  259. bool "Posix"
  260. default y
  261. help
  262. POSIX.1 (IEEE 1003.1) function support
  263. config BR2_PACKAGE_PHP_EXT_SHMOP
  264. bool "shmop"
  265. help
  266. Shared memory support
  267. config BR2_PACKAGE_PHP_EXT_SYSVMSG
  268. bool "sysvmsg"
  269. help
  270. System V message queue support
  271. config BR2_PACKAGE_PHP_EXT_SYSVSEM
  272. bool "sysvsem"
  273. help
  274. System V semaphore support
  275. config BR2_PACKAGE_PHP_EXT_SYSVSHM
  276. bool "sysvshm"
  277. help
  278. System V shared memory support
  279. comment "Variable and Type related"
  280. config BR2_PACKAGE_PHP_EXT_CTYPE
  281. bool "Ctype"
  282. help
  283. Character type checking support
  284. config BR2_PACKAGE_PHP_EXT_FILTER
  285. bool "Filter"
  286. help
  287. Input filter support
  288. comment "Web services"
  289. config BR2_PACKAGE_PHP_EXT_SOAP
  290. bool "SOAP"
  291. select BR2_PACKAGE_PHP_EXT_LIBXML2
  292. help
  293. SOAP support
  294. comment "XML manipulation"
  295. config BR2_PACKAGE_PHP_EXT_DOM
  296. bool "DOM"
  297. select BR2_PACKAGE_PHP_EXT_LIBXML2
  298. help
  299. Document Object Model support
  300. config BR2_PACKAGE_PHP_EXT_LIBXML2
  301. bool "libxml"
  302. select BR2_PACKAGE_LIBXML2
  303. help
  304. libxml2 support
  305. config BR2_PACKAGE_PHP_EXT_SIMPLEXML
  306. bool "SimpleXML"
  307. select BR2_PACKAGE_PHP_EXT_LIBXML2
  308. help
  309. SimpleXML support
  310. config BR2_PACKAGE_PHP_EXT_XML
  311. bool "XML Parser"
  312. select BR2_PACKAGE_PHP_EXT_LIBXML2
  313. help
  314. XML Parser support
  315. config BR2_PACKAGE_PHP_EXT_XMLREADER
  316. bool "XMLReader"
  317. select BR2_PACKAGE_PHP_EXT_LIBXML2
  318. help
  319. XMLReader support
  320. config BR2_PACKAGE_PHP_EXT_XMLWRITER
  321. bool "XMLWriter"
  322. select BR2_PACKAGE_PHP_EXT_LIBXML2
  323. help
  324. XMLWriter support
  325. config BR2_PACKAGE_PHP_EXT_XSL
  326. bool "XSL"
  327. select BR2_PACKAGE_PHP_EXT_DOM
  328. select BR2_PACKAGE_PHP_EXT_LIBXML2
  329. select BR2_PACKAGE_LIBXSLT
  330. help
  331. XSL transformation support
  332. config BR2_PACKAGE_PHP_EXT_FFI
  333. bool "FFI"
  334. depends on !BR2_STATIC_LIBS
  335. depends on BR2_TOOLCHAIN_HAS_THREADS
  336. select BR2_PACKAGE_LIBFFI
  337. help
  338. Foreign Function Interface support
  339. comment "PHP FFI extension needs a toolchain w/ threads, dynamic library"
  340. depends on !BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS
  341. endmenu