xref: /OK3568_Linux_fs/buildroot/package/pcre2/Config.in (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593Smuzhiyunconfig BR2_PACKAGE_PCRE2
2*4882a593Smuzhiyun	bool "pcre2"
3*4882a593Smuzhiyun	help
4*4882a593Smuzhiyun	  Perl Compatible Regular Expressions. By default, only the
5*4882a593Smuzhiyun	  8-bits libpcre2 is built. To get the 16-bits and/or 32-bits
6*4882a593Smuzhiyun	  variants libpcre2-16/libpcre2-32, use the package
7*4882a593Smuzhiyun	  sub-options.
8*4882a593Smuzhiyun
9*4882a593Smuzhiyun	  http://www.pcre.org/
10*4882a593Smuzhiyun
11*4882a593Smuzhiyunif BR2_PACKAGE_PCRE2
12*4882a593Smuzhiyun
13*4882a593Smuzhiyunconfig BR2_PACKAGE_PCRE2_16
14*4882a593Smuzhiyun	bool "16-bit pcre2"
15*4882a593Smuzhiyun	help
16*4882a593Smuzhiyun	  This option builds the 16-bits pcre2 library, i.e
17*4882a593Smuzhiyun	  'libpcre2-16'
18*4882a593Smuzhiyun
19*4882a593Smuzhiyunconfig BR2_PACKAGE_PCRE2_32
20*4882a593Smuzhiyun	bool "32-bit pcre2"
21*4882a593Smuzhiyun	help
22*4882a593Smuzhiyun	  This option builds the 32-bits pcre2 library, i.e
23*4882a593Smuzhiyun	  'libpcre2-32'
24*4882a593Smuzhiyun
25*4882a593Smuzhiyunconfig BR2_PACKAGE_PCRE2_JIT_ARCH_SUPPORTS
26*4882a593Smuzhiyun	bool
27*4882a593Smuzhiyun	default y if BR2_aarch64
28*4882a593Smuzhiyun	default y if BR2_arm || BR2_armeb
29*4882a593Smuzhiyun	default y if BR2_i386 || BR2_x86_64
30*4882a593Smuzhiyun	default y if BR2_mips || BR2_mipsel || BR2_mips64 || BR2_mips64el
31*4882a593Smuzhiyun	default y if BR2_powerpc
32*4882a593Smuzhiyun	default y if BR2_sparc
33*4882a593Smuzhiyun
34*4882a593Smuzhiyunconfig BR2_PACKAGE_PCRE2_JIT
35*4882a593Smuzhiyun	bool "enable JIT support"
36*4882a593Smuzhiyun	depends on BR2_PACKAGE_PCRE2_JIT_ARCH_SUPPORTS
37*4882a593Smuzhiyun	depends on BR2_TOOLCHAIN_HAS_THREADS
38*4882a593Smuzhiyun	help
39*4882a593Smuzhiyun	  This option enables JIT support
40*4882a593Smuzhiyun
41*4882a593Smuzhiyuncomment "JIT support needs a toolchain w/ threads"
42*4882a593Smuzhiyun	depends on BR2_PACKAGE_PCRE2_JIT_ARCH_SUPPORTS
43*4882a593Smuzhiyun	depends on !BR2_TOOLCHAIN_HAS_THREADS
44*4882a593Smuzhiyun
45*4882a593Smuzhiyunendif
46