1 # Data layout influencing options
3 option('blocksize', type : 'combo',
4 choices : ['1', '2', '4', '8', '16', '32'],
6 description: 'set relation block size in kB')
8 option('wal_blocksize', type : 'combo',
9 choices: ['1', '2', '4', '8', '16', '32', '64'],
11 description : '''WAL block size, in kilobytes''')
13 option('segsize', type : 'integer', value : 1,
14 description : '''Segment size, in gigabytes''')
17 # Miscellaneous options
19 option('krb_srvnam', type : 'string', value : 'postgres',
20 description : '''Default Kerberos service principal for GSSAPI''')
22 option('system_tzdata', type: 'string', value: '',
23 description: 'use system time zone data in specified directory')
28 option('pgport', type : 'integer', value : 5432,
30 description : '''Default port number for server and clients''')
35 option('cassert', type : 'boolean', value: false,
36 description: 'enable assertion checks (for debugging)')
38 option('tap_tests', type : 'feature', value : 'auto',
39 description : 'Whether to enable tap tests')
41 option('PG_TEST_EXTRA', type : 'string', value: '',
42 description: 'Enable selected extra tests')
44 option('atomics', type : 'boolean', value: true,
45 description: 'whether to use atomic operations')
47 option('spinlocks', type : 'boolean', value: true,
48 description: 'whether to use spinlocks')
53 option('extra_include_dirs', type : 'array', value: [],
54 description: 'non-default directories to be searched for headers')
56 option('extra_lib_dirs', type : 'array', value: [],
57 description: 'non-default directories to be searched for libs')
59 option('extra_version', type : 'string', value: '',
60 description: 'append STRING to the PostgreSQL version number')
62 option('darwin_sysroot', type : 'string', value: '',
63 description: 'select a non-default sysroot path')
66 # External dependencies
68 option('bonjour', type : 'feature', value: 'auto',
69 description: 'build with Bonjour support')
71 option('bsd_auth', type : 'feature', value: 'auto',
72 description: 'build with BSD Authentication support')
74 option('dtrace', type : 'feature', value: 'disabled',
75 description: 'DTrace support')
77 option('gssapi', type : 'feature', value: 'auto',
78 description: 'GSSAPI support')
80 option('icu', type : 'feature', value: 'auto',
81 description: 'ICU support')
83 option('ldap', type : 'feature', value: 'auto',
84 description: 'LDAP support')
86 option('libedit_preferred', type : 'boolean', value: false,
87 description: 'Prefer BSD Libedit over GNU Readline')
89 option('libxml', type : 'feature', value: 'auto',
90 description: 'XML support')
92 option('libxslt', type : 'feature', value: 'auto',
93 description: 'XSLT support in contrib/xml2')
95 option('llvm', type : 'feature', value: 'disabled',
96 description: 'whether to use llvm')
98 option('lz4', type : 'feature', value: 'auto',
99 description: 'LZ4 support')
101 option('nls', type: 'feature', value: 'auto',
102 description: 'native language support')
104 option('pam', type : 'feature', value: 'auto',
105 description: 'build with PAM support')
107 option('plperl', type : 'feature', value: 'auto',
108 description: 'build Perl modules (PL/Perl)')
110 option('plpython', type : 'feature', value: 'auto',
111 description: 'build Python modules (PL/Python)')
113 option('pltcl', type : 'feature', value: 'auto',
114 description: 'build with TCL support')
116 option('tcl_version', type : 'string', value : 'tcl',
117 description: 'specify TCL version')
119 option('readline', type : 'feature', value : 'auto',
120 description: 'use GNU Readline or BSD Libedit for editing')
122 option('selinux', type : 'feature', value : 'disabled',
123 description: 'build with SELinux support')
125 option('ssl', type : 'combo', choices : ['none', 'openssl'],
127 description: 'use LIB for SSL/TLS support (openssl)')
129 option('systemd', type : 'feature', value: 'auto',
130 description: 'build with systemd support')
132 option('uuid', type : 'combo', choices : ['none', 'bsd', 'e2fs', 'ossp'],
134 description: 'build contrib/uuid-ossp using LIB')
136 option('zlib', type : 'feature', value: 'auto',
137 description: 'whether to use zlib')
139 option('zstd', type : 'feature', value: 'auto',
140 description: 'whether to use zstd')
145 option('BISON', type : 'array', value: ['bison', 'win_bison'],
146 description: 'path to bison binary')
148 option('DTRACE', type : 'string', value: 'dtrace',
149 description: 'path to dtrace binary')
151 option('FLEX', type : 'array', value: ['flex', 'win_flex'],
152 description: 'path to flex binary')
154 option('GZIP', type : 'string', value: 'gzip',
155 description: 'path to gzip binary')
157 option('LZ4', type : 'string', value: 'lz4',
158 description: 'path to lz4 binary')
160 option('PERL', type : 'string', value: 'perl',
161 description: 'path to perl binary')
163 option('PROVE', type : 'string', value: 'prove',
164 description: 'path to prove binary')
166 option('PYTHON', type : 'array', value: ['python3', 'python'],
167 description: 'path to python binary')
169 option('SED', type : 'string', value: 'gsed',
170 description: 'path to sed binary')
172 option('TAR', type : 'string', value: 'tar',
173 description: 'path to tar binary')
175 option('XMLLINT', type : 'string', value: 'xmllint',
176 description: 'path to xmllint binary')
178 option('XSLTPROC', type : 'string', value: 'xsltproc',
179 description: 'path to xsltproc binary')
181 option('ZSTD', type : 'string', value: 'zstd',
182 description: 'path to zstd binary')
184 option('ZIC', type : 'string', value: 'zic',
185 description: 'path to zic binary, when cross-compiling')