Skip to content

Commit c55d31e

Browse files
committed
meson: Attach colon to keyword argument
This matches the style found in the rest of the Meson build description. Author: Tristan Partin <[email protected]> Discussion: https://www.postgresql.org/message-id/flat/CSPIJVUDZFKX.3KHMOAVGF94RV%40c3po
1 parent b2ec7f5 commit c55d31e

File tree

1 file changed

+69
-69
lines changed

1 file changed

+69
-69
lines changed

Diff for: meson_options.txt

+69-69
Original file line numberDiff line numberDiff line change
@@ -2,210 +2,210 @@
22

33
# Data layout influencing options
44

5-
option('blocksize', type : 'combo',
6-
choices : ['1', '2', '4', '8', '16', '32'],
7-
value : '8',
5+
option('blocksize', type: 'combo',
6+
choices: ['1', '2', '4', '8', '16', '32'],
7+
value: '8',
88
description: 'Relation block size, in kilobytes')
99

10-
option('wal_blocksize', type : 'combo',
10+
option('wal_blocksize', type: 'combo',
1111
choices: ['1', '2', '4', '8', '16', '32', '64'],
1212
value: '8',
13-
description : 'WAL block size, in kilobytes')
13+
description: 'WAL block size, in kilobytes')
1414

15-
option('segsize', type : 'integer', value : 1,
16-
description : 'Segment size, in gigabytes')
15+
option('segsize', type: 'integer', value: 1,
16+
description: 'Segment size, in gigabytes')
1717

18-
option('segsize_blocks', type : 'integer', value: 0,
19-
description : 'Segment size, in blocks')
18+
option('segsize_blocks', type: 'integer', value: 0,
19+
description: 'Segment size, in blocks')
2020

2121

2222
# Miscellaneous options
2323

24-
option('krb_srvnam', type : 'string', value : 'postgres',
25-
description : 'Default Kerberos service principal for GSSAPI')
24+
option('krb_srvnam', type: 'string', value: 'postgres',
25+
description: 'Default Kerberos service principal for GSSAPI')
2626

2727
option('system_tzdata', type: 'string', value: '',
2828
description: 'Use system time zone data in specified directory')
2929

3030

3131
# Defaults
3232

33-
option('pgport', type : 'integer', value : 5432,
33+
option('pgport', type: 'integer', value: 5432,
3434
min: 1, max: 65535,
35-
description : 'Default port number for server and clients')
35+
description: 'Default port number for server and clients')
3636

3737

3838
# Developer options
3939

40-
option('cassert', type : 'boolean', value: false,
40+
option('cassert', type: 'boolean', value: false,
4141
description: 'Enable assertion checks (for debugging)')
4242

43-
option('tap_tests', type : 'feature', value : 'auto',
44-
description : 'Enable TAP tests')
43+
option('tap_tests', type: 'feature', value: 'auto',
44+
description: 'Enable TAP tests')
4545

46-
option('PG_TEST_EXTRA', type : 'string', value: '',
46+
option('PG_TEST_EXTRA', type: 'string', value: '',
4747
description: 'Enable selected extra tests')
4848

49-
option('atomics', type : 'boolean', value: true,
49+
option('atomics', type: 'boolean', value: true,
5050
description: 'Use atomic operations')
5151

52-
option('spinlocks', type : 'boolean', value: true,
52+
option('spinlocks', type: 'boolean', value: true,
5353
description: 'Use spinlocks')
5454

5555

5656
# Compilation options
5757

58-
option('extra_include_dirs', type : 'array', value: [],
58+
option('extra_include_dirs', type: 'array', value: [],
5959
description: 'Non-default directories to be searched for headers')
6060

61-
option('extra_lib_dirs', type : 'array', value: [],
61+
option('extra_lib_dirs', type: 'array', value: [],
6262
description: 'Non-default directories to be searched for libs')
6363

64-
option('extra_version', type : 'string', value: '',
64+
option('extra_version', type: 'string', value: '',
6565
description: 'Append STRING to the PostgreSQL version number')
6666

67-
option('darwin_sysroot', type : 'string', value: '',
67+
option('darwin_sysroot', type: 'string', value: '',
6868
description: 'Select a non-default sysroot path')
6969

70-
option('rpath', type : 'boolean', value: true,
70+
option('rpath', type: 'boolean', value: true,
7171
description: 'Embed shared library search path in executables')
7272

7373

7474
# External dependencies
7575

76-
option('bonjour', type : 'feature', value: 'auto',
76+
option('bonjour', type: 'feature', value: 'auto',
7777
description: 'Bonjour support')
7878

79-
option('bsd_auth', type : 'feature', value: 'auto',
79+
option('bsd_auth', type: 'feature', value: 'auto',
8080
description: 'BSD Authentication support')
8181

82-
option('docs', type : 'feature', value: 'auto',
82+
option('docs', type: 'feature', value: 'auto',
8383
description: 'Documentation in HTML and man page format')
8484

85-
option('docs_pdf', type : 'feature', value: 'auto',
85+
option('docs_pdf', type: 'feature', value: 'auto',
8686
description: 'Documentation in PDF format')
8787

88-
option('docs_html_style', type : 'combo', choices: ['simple', 'website'],
88+
option('docs_html_style', type: 'combo', choices: ['simple', 'website'],
8989
description: 'CSS stylesheet for HTML documentation')
9090

91-
option('dtrace', type : 'feature', value: 'disabled',
91+
option('dtrace', type: 'feature', value: 'disabled',
9292
description: 'DTrace support')
9393

94-
option('gssapi', type : 'feature', value: 'auto',
94+
option('gssapi', type: 'feature', value: 'auto',
9595
description: 'GSSAPI support')
9696

97-
option('icu', type : 'feature', value: 'auto',
97+
option('icu', type: 'feature', value: 'auto',
9898
description: 'ICU support')
9999

100-
option('ldap', type : 'feature', value: 'auto',
100+
option('ldap', type: 'feature', value: 'auto',
101101
description: 'LDAP support')
102102

103-
option('libedit_preferred', type : 'boolean', value: false,
103+
option('libedit_preferred', type: 'boolean', value: false,
104104
description: 'Prefer BSD Libedit over GNU Readline')
105105

106-
option('libxml', type : 'feature', value: 'auto',
106+
option('libxml', type: 'feature', value: 'auto',
107107
description: 'XML support')
108108

109-
option('libxslt', type : 'feature', value: 'auto',
109+
option('libxslt', type: 'feature', value: 'auto',
110110
description: 'XSLT support in contrib/xml2')
111111

112-
option('llvm', type : 'feature', value: 'disabled',
112+
option('llvm', type: 'feature', value: 'disabled',
113113
description: 'LLVM support')
114114

115-
option('lz4', type : 'feature', value: 'auto',
115+
option('lz4', type: 'feature', value: 'auto',
116116
description: 'LZ4 support')
117117

118118
option('nls', type: 'feature', value: 'auto',
119119
description: 'Native language support')
120120

121-
option('pam', type : 'feature', value: 'auto',
121+
option('pam', type: 'feature', value: 'auto',
122122
description: 'PAM support')
123123

124-
option('plperl', type : 'feature', value: 'auto',
124+
option('plperl', type: 'feature', value: 'auto',
125125
description: 'Build Perl modules (PL/Perl)')
126126

127-
option('plpython', type : 'feature', value: 'auto',
127+
option('plpython', type: 'feature', value: 'auto',
128128
description: 'Build Python modules (PL/Python)')
129129

130-
option('pltcl', type : 'feature', value: 'auto',
130+
option('pltcl', type: 'feature', value: 'auto',
131131
description: 'Build with Tcl support (PL/Tcl)')
132132

133-
option('tcl_version', type : 'string', value : 'tcl',
133+
option('tcl_version', type: 'string', value: 'tcl',
134134
description: 'Tcl version')
135135

136-
option('readline', type : 'feature', value : 'auto',
136+
option('readline', type: 'feature', value: 'auto',
137137
description: 'Use GNU Readline or BSD Libedit for editing')
138138

139-
option('selinux', type : 'feature', value : 'disabled',
139+
option('selinux', type: 'feature', value: 'disabled',
140140
description: 'SELinux support')
141141

142-
option('ssl', type : 'combo', choices : ['auto', 'none', 'openssl'],
143-
value : 'auto',
142+
option('ssl', type: 'combo', choices: ['auto', 'none', 'openssl'],
143+
value: 'auto',
144144
description: 'Use LIB for SSL/TLS support (openssl)')
145145

146-
option('systemd', type : 'feature', value: 'auto',
146+
option('systemd', type: 'feature', value: 'auto',
147147
description: 'systemd support')
148148

149-
option('uuid', type : 'combo', choices : ['none', 'bsd', 'e2fs', 'ossp'],
150-
value : 'none',
149+
option('uuid', type: 'combo', choices: ['none', 'bsd', 'e2fs', 'ossp'],
150+
value: 'none',
151151
description: 'Use LIB for contrib/uuid-ossp support')
152152

153-
option('zlib', type : 'feature', value: 'auto',
153+
option('zlib', type: 'feature', value: 'auto',
154154
description: 'Enable zlib')
155155

156-
option('zstd', type : 'feature', value: 'auto',
156+
option('zstd', type: 'feature', value: 'auto',
157157
description: 'Enable zstd')
158158

159159

160160
# Programs
161161

162-
option('BISON', type : 'array', value: ['bison', 'win_bison'],
162+
option('BISON', type: 'array', value: ['bison', 'win_bison'],
163163
description: 'Path to bison binary')
164164

165-
option('DTRACE', type : 'string', value: 'dtrace',
165+
option('DTRACE', type: 'string', value: 'dtrace',
166166
description: 'Path to dtrace binary')
167167

168-
option('FLEX', type : 'array', value: ['flex', 'win_flex'],
168+
option('FLEX', type: 'array', value: ['flex', 'win_flex'],
169169
description: 'Path to flex binary')
170170

171-
option('FOP', type : 'string', value: 'fop',
171+
option('FOP', type: 'string', value: 'fop',
172172
description: 'Path to fop binary')
173173

174-
option('GZIP', type : 'string', value: 'gzip',
174+
option('GZIP', type: 'string', value: 'gzip',
175175
description: 'Path to gzip binary')
176176

177-
option('LZ4', type : 'string', value: 'lz4',
177+
option('LZ4', type: 'string', value: 'lz4',
178178
description: 'Path to lz4 binary')
179179

180-
option('OPENSSL', type : 'string', value: 'openssl',
180+
option('OPENSSL', type: 'string', value: 'openssl',
181181
description: 'Path to openssl binary')
182182

183-
option('PERL', type : 'string', value: 'perl',
183+
option('PERL', type: 'string', value: 'perl',
184184
description: 'Path to perl binary')
185185

186-
option('PROVE', type : 'string', value: 'prove',
186+
option('PROVE', type: 'string', value: 'prove',
187187
description: 'Path to prove binary')
188188

189-
option('PYTHON', type : 'array', value: ['python3', 'python'],
189+
option('PYTHON', type: 'array', value: ['python3', 'python'],
190190
description: 'Path to python binary')
191191

192-
option('SED', type : 'string', value: 'gsed',
192+
option('SED', type: 'string', value: 'gsed',
193193
description: 'Path to sed binary')
194194

195-
option('STRIP', type : 'string', value: 'strip',
195+
option('STRIP', type: 'string', value: 'strip',
196196
description: 'Path to strip binary, used for PGXS emulation')
197197

198-
option('TAR', type : 'string', value: 'tar',
198+
option('TAR', type: 'string', value: 'tar',
199199
description: 'Path to tar binary')
200200

201-
option('XMLLINT', type : 'string', value: 'xmllint',
201+
option('XMLLINT', type: 'string', value: 'xmllint',
202202
description: 'Path to xmllint binary')
203203

204-
option('XSLTPROC', type : 'string', value: 'xsltproc',
204+
option('XSLTPROC', type: 'string', value: 'xsltproc',
205205
description: 'Path to xsltproc binary')
206206

207-
option('ZSTD', type : 'string', value: 'zstd',
207+
option('ZSTD', type: 'string', value: 'zstd',
208208
description: 'Path to zstd binary')
209209

210-
option('ZIC', type : 'string', value: 'zic',
210+
option('ZIC', type: 'string', value: 'zic',
211211
description: 'Path to zic binary, when cross-compiling')

0 commit comments

Comments
 (0)