1gdal-config(1) General Commands Manual gdal-config(1)
2
3
4
6 gdal-configDetermines various information about a GDAL installation.
7
9 gdal-config [OPTIONS]
10 Options:
11 [--prefix[=DIR]]
12 [--libs]
13 [--cflags]
14 [--version]
15 [--ogr-enabled]
16 [--formats]
17
19 This utility script (available on Unix systems) can be used to
20 determine various information about a GDAL installation. It is normally
21 just used by configure scripts for applications using GDAL but can be
22 queried by an end user.
23
24 --prefix:
25 the top level directory for the GDAL installation.
26
27 --libs:
28 The libraries and link directives required to use GDAL.
29
30 --cflags:
31 The include and macro definition required to compiled modules using
32 GDAL.
33
34 --version:
35 Reports the GDAL version.
36
37 --ogr-enabled:
38 Reports 'yes' or 'no' to standard output depending on whether OGR
39 is built into GDAL.
40
41 --formats:
42 Reports which formats are configured into GDAL to stdout.
43
44GDAL Wed Oct 3 2018 gdal-config(1)