Doc: add XML ID attributes to <sectN> and <varlistentry> tags.
[pgsql.git] / meson_options.txt
blob9d3ef4aa2041014d12d0bff4a729610d198c6332
1 # Copyright (c) 2022-2023, PostgreSQL Global Development Group
3 # Data layout influencing options
5 option('blocksize', type : 'combo',
6   choices : ['1', '2', '4', '8', '16', '32'],
7   value : '8',
8   description: 'set relation block size in kB')
10 option('wal_blocksize', type : 'combo',
11   choices: ['1', '2', '4', '8', '16', '32', '64'],
12   value: '8',
13   description : '''WAL block size, in kilobytes''')
15 option('segsize', type : 'integer', value : 1,
16   description : '''Segment size, in gigabytes''')
18 option('segsize_blocks', type : 'integer', value: 0,
19   description : '''Segment size, in blocks''')
22 # Miscellaneous options
24 option('krb_srvnam', type : 'string', value : 'postgres',
25   description : '''Default Kerberos service principal for GSSAPI''')
27 option('system_tzdata', type: 'string', value: '',
28   description: 'use system time zone data in specified directory')
31 # Defaults
33 option('pgport', type : 'integer', value : 5432,
34   min: 1, max: 65535,
35   description : '''Default port number for server and clients''')
38 # Developer options
40 option('cassert', type : 'boolean', value: false,
41   description: 'enable assertion checks (for debugging)')
43 option('tap_tests', type : 'feature', value : 'auto',
44   description : 'Whether to enable tap tests')
46 option('PG_TEST_EXTRA', type : 'string', value: '',
47   description: 'Enable selected extra tests')
49 option('atomics', type : 'boolean', value: true,
50   description: 'whether to use atomic operations')
52 option('spinlocks', type : 'boolean', value: true,
53   description: 'whether to use spinlocks')
56 # Compilation options
58 option('extra_include_dirs', type : 'array', value: [],
59   description: 'non-default directories to be searched for headers')
61 option('extra_lib_dirs', type : 'array', value: [],
62   description: 'non-default directories to be searched for libs')
64 option('extra_version', type : 'string', value: '',
65   description: 'append STRING to the PostgreSQL version number')
67 option('darwin_sysroot', type : 'string', value: '',
68   description: 'select a non-default sysroot path')
71 # External dependencies
73 option('bonjour', type : 'feature', value: 'auto',
74   description: 'build with Bonjour support')
76 option('bsd_auth', type : 'feature', value: 'auto',
77   description: 'build with BSD Authentication support')
79 option('dtrace', type : 'feature', value: 'disabled',
80   description: 'DTrace support')
82 option('gssapi', type : 'feature', value: 'auto',
83   description: 'GSSAPI support')
85 option('icu', type : 'feature', value: 'auto',
86   description: 'ICU support')
88 option('ldap', type : 'feature', value: 'auto',
89   description: 'LDAP support')
91 option('libedit_preferred', type : 'boolean', value: false,
92   description: 'Prefer BSD Libedit over GNU Readline')
94 option('libxml', type : 'feature', value: 'auto',
95   description: 'XML support')
97 option('libxslt', type : 'feature', value: 'auto',
98   description: 'XSLT support in contrib/xml2')
100 option('llvm', type : 'feature', value: 'disabled',
101   description: 'whether to use llvm')
103 option('lz4', type : 'feature', value: 'auto',
104   description: 'LZ4 support')
106 option('nls', type: 'feature', value: 'auto',
107   description: 'native language support')
109 option('pam', type : 'feature', value: 'auto',
110   description: 'build with PAM support')
112 option('plperl', type : 'feature', value: 'auto',
113   description: 'build Perl modules (PL/Perl)')
115 option('plpython', type : 'feature', value: 'auto',
116   description: 'build Python modules (PL/Python)')
118 option('pltcl', type : 'feature', value: 'auto',
119   description: 'build with TCL support')
121 option('tcl_version', type : 'string', value : 'tcl',
122   description: 'specify TCL version')
124 option('readline', type : 'feature', value : 'auto',
125   description: 'use GNU Readline or BSD Libedit for editing')
127 option('selinux', type : 'feature', value : 'disabled',
128   description: 'build with SELinux support')
130 option('ssl', type : 'combo', choices : ['none', 'openssl'],
131   value : 'none',
132   description: 'use LIB for SSL/TLS support (openssl)')
134 option('systemd', type : 'feature', value: 'auto',
135   description: 'build with systemd support')
137 option('uuid', type : 'combo', choices : ['none', 'bsd', 'e2fs', 'ossp'],
138   value : 'none',
139   description: 'build contrib/uuid-ossp using LIB')
141 option('zlib', type : 'feature', value: 'auto',
142   description: 'whether to use zlib')
144 option('zstd', type : 'feature', value: 'auto',
145   description: 'whether to use zstd')
148 # Programs
150 option('BISON', type : 'array', value: ['bison', 'win_bison'],
151   description: 'path to bison binary')
153 option('DTRACE', type : 'string', value: 'dtrace',
154   description: 'path to dtrace binary')
156 option('FLEX', type : 'array', value: ['flex', 'win_flex'],
157   description: 'path to flex binary')
159 option('GZIP', type : 'string', value: 'gzip',
160   description: 'path to gzip binary')
162 option('LZ4', type : 'string', value: 'lz4',
163   description: 'path to lz4 binary')
165 option('OPENSSL', type : 'string', value: 'openssl',
166   description: 'path to openssl binary')
168 option('PERL', type : 'string', value: 'perl',
169   description: 'path to perl binary')
171 option('PROVE', type : 'string', value: 'prove',
172   description: 'path to prove binary')
174 option('PYTHON', type : 'array', value: ['python3', 'python'],
175   description: 'path to python binary')
177 option('SED', type : 'string', value: 'gsed',
178   description: 'path to sed binary')
180 option('STRIP', type : 'string', value: 'strip',
181   description: 'path to strip binary, used for PGXS emulation')
183 option('TAR', type : 'string', value: 'tar',
184   description: 'path to tar binary')
186 option('XMLLINT', type : 'string', value: 'xmllint',
187   description: 'path to xmllint binary')
189 option('XSLTPROC', type : 'string', value: 'xsltproc',
190   description: 'path to xsltproc binary')
192 option('ZSTD', type : 'string', value: 'zstd',
193   description: 'path to zstd binary')
195 option('ZIC', type : 'string', value: 'zic',
196   description: 'path to zic binary, when cross-compiling')