@@ -8,6 +8,7 @@ prefix="@CMAKE_INSTALL_PREFIX@"
8
8
exec_prefix=" @CMAKE_INSTALL_PREFIX@"
9
9
libdir=" @CMAKE_INSTALL_PREFIX@/@CMAKE_INSTALL_LIBDIR@"
10
10
includedir=" @CMAKE_INSTALL_PREFIX@/@CMAKE_INSTALL_INCLUDEDIR@"
11
+ plugindir=" @PLUGIN_INSTALL_DIR@"
11
12
12
13
cc=" @CMAKE_C_COMPILER@"
13
14
cflags=" -I@CMAKE_INSTALL_PREFIX@/@CMAKE_INSTALL_INCLUDEDIR@"
@@ -108,6 +109,34 @@ else
108
109
has_nczarr=" yes"
109
110
fi
110
111
112
+ has_benchmarks=" @HAS_BENCHMARKS@"
113
+ if [ -z " $has_benchmarks " -o " $has_benchmarks " = " OFF" -o " $has_benchmarks " = " FALSE" ]; then
114
+ has_benchmarks=" no"
115
+ else
116
+ has_benchmarks=" yes"
117
+ fi
118
+
119
+ has_multifilters=" @HAS_MULTIFILTERS@"
120
+ if [ -z " $has_multifilters " -o " $has_multifilters " = " OFF" -o " $has_multifilters " = " FALSE" ]; then
121
+ has_multifilters=" no"
122
+ else
123
+ has_multifilters=" yes"
124
+ fi
125
+
126
+ has_zstd=" @HAS_ZSTD"
127
+ if [ -z " $has_zstd " -o " $has_zstd " = " OFF" -o " $has_zstd " = " FALSE" ]; then
128
+ has_zstd=" no"
129
+ else
130
+ has_zstd=" yes"
131
+ fi
132
+
133
+ has_quantize=" @HAS_QUANTIZE@"
134
+ if [ -z " $has_quantize " -o " $has_quantize " = " OFF" -o " $has_quantize " = " FALSE" ]; then
135
+ has_quantize=" no"
136
+ else
137
+ has_quantize=" yes"
138
+ fi
139
+
111
140
version=" @PACKAGE@ @VERSION@"
112
141
113
142
@@ -151,38 +180,39 @@ Usage: nc-config [OPTION]
151
180
152
181
Available values for OPTION include:
153
182
154
- --help display this help message and exit
155
- --all display all options
156
- --cc C compiler
157
- --cflags pre-processor and compiler flags
158
- --has-c++ whether C++ API is installed
159
- --has-c++4 whether netCDF-4 C++ API is installed
160
- --has-fortran whether Fortran API is installed
161
- --has-dap2 whether OPeNDAP (DAP2) is enabled in this build
162
- --has-dap4 whether DAP4 is enabled in this build
163
- --has-dap same as --has-dap2 (Deprecated)
164
- --has-nc2 whether NetCDF-2 API is enabled
165
- --has-nc4 whether NetCDF-4/HDF-5 is enabled in this build
166
- --has-hdf5 whether HDF5 is used in build (always the same as --has-nc4)
167
- --has-hdf4 whether HDF4 was used in build
168
- --has-logging whether logging is enabled with --enable-logging.
169
- --has-pnetcdf whether PnetCDF was used in build
170
- --has-szlib whether szlib is included in build
171
- --has-cdf5 whether cdf5 support is included in build
172
- --has-parallel4 whether has parallel IO support via HDF5
173
- --has-parallel whether has parallel IO support via HDF5 or PnetCDF
174
- --has-nczarr whether nczarr enabled
175
- --has-zstd whether zstandard compression enabled
183
+ --help display this help message and exit
184
+ --all display all options
185
+ --cc C compiler
186
+ --cflags pre-processor and compiler flags
187
+ --has-c++ whether C++ API is installed
188
+ --has-c++4 whether netCDF-4 C++ API is installed
189
+ --has-fortran whether Fortran API is installed
190
+ --has-dap2 whether OPeNDAP (DAP2) is enabled in this build
191
+ --has-dap4 whether DAP4 is enabled in this build
192
+ --has-dap same as --has-dap2 (Deprecated)
193
+ --has-nc2 whether NetCDF-2 API is enabled
194
+ --has-nc4 whether NetCDF-4/HDF-5 is enabled in this build
195
+ --has-hdf5 whether HDF5 is used in build (always the same as --has-nc4)
196
+ --has-hdf4 whether HDF4 was used in build
197
+ --has-logging whether logging is enabled with --enable-logging.
198
+ --has-pnetcdf whether PnetCDF was used in build
199
+ --has-szlib whether szlib is included in build
200
+ --has-cdf5 whether cdf5 support is included in build
201
+ --has-parallel4 whether has parallel IO support via HDF5
202
+ --has-parallel whether has parallel IO support via HDF5 or PnetCDF
203
+ --has-nczarr whether nczarr enabled
204
+ --has-zstd whether zstandard compression enabled
176
205
--has-multifilters whether multifilter support is enabled
177
- --has-quanitze whether quantize support is enabled
178
- --has-stdfilters lists the standard filters enabled
179
- --has-benchmarks whether benchmarks enabled
206
+ --has-quanitze whether quantize support is enabled
207
+ --has-stdfilters lists the standard filters enabled
208
+ --has-benchmarks whether benchmarks enabled
180
209
181
210
--libs library linking information for netcdf
182
211
--static library linking information for statically-compiled netcdf
183
212
--prefix Install prefix
184
213
--includedir Include directory
185
214
--libdir Library directory
215
+ --plugindir Plugin directory
186
216
--version Library version
187
217
188
218
EOF
@@ -236,7 +266,6 @@ if [ -f "$ncxx4conf" ]; then
236
266
echo " --cxx4libs -> $cxx4libs "
237
267
fi
238
268
echo
239
-
240
269
echo " --has-fortran -> $has_fortran "
241
270
if [ -f " $nfconf " ]; then
242
271
echo " --fc -> $fc "
@@ -246,8 +275,9 @@ if [ -f "$nfconf" ]; then
246
275
echo " --has-f03 -> $has_f03 "
247
276
echo
248
277
fi
249
- echo " --has-dap -> $has_dap "
250
- echo " --has-dap2 -> $has_dap "
278
+ echo
279
+ echo " --has-dap -> $has_dap2 "
280
+ echo " --has-dap2 -> $has_dap2 "
251
281
echo " --has-dap4 -> $has_dap4 "
252
282
echo " --has-nc2 -> $has_nc2 "
253
283
echo " --has-nc4 -> $has_nc4 "
263
293
echo " --has-zstd -> $has_zstd "
264
294
echo " --has-benchmarks -> $has_benchmarks "
265
295
echo " --has-multifilters -> $has_multifilters "
266
- echo " --has-stdfilters -> $has_multifilters "
296
+ echo " --has-stdfilters -> @STD_FILTERS@ "
267
297
echo " --has-quantize -> $has_quantize "
268
298
echo
269
299
echo " --prefix -> $prefix "
270
300
echo " --includedir -> $includedir "
271
301
echo " --libdir -> $libdir "
302
+ echo " --plugindir -> $plugindir "
272
303
echo " --version -> $version "
273
304
echo
274
305
}
@@ -314,6 +345,10 @@ while test $# -gt 0; do
314
345
echo $cflags
315
346
;;
316
347
348
+ --plugindir)
349
+ echo $plugindir
350
+ ;;
351
+
317
352
--has-dap)
318
353
echo $has_dap2
319
354
;;
@@ -370,6 +405,26 @@ while test $# -gt 0; do
370
405
echo $has_nczarr
371
406
;;
372
407
408
+ --has-zstd)
409
+ echo $has_zstd
410
+ ;;
411
+
412
+ --has-benchmarks)
413
+ echo $has_benchmarks
414
+ ;;
415
+
416
+ --has-multifilters)
417
+ echo $has_multifilters
418
+ ;;
419
+
420
+ --has-stdfilters)
421
+ echo @STD_FILTERS@
422
+ ;;
423
+
424
+ --has-quantize)
425
+ echo $has_quantize
426
+ ;;
427
+
373
428
--libs)
374
429
if [ " x$HAS_STATIC " = " xTRUE" ]; then
375
430
echo $libs $libsprivate
0 commit comments