1GDAL-CONFIG(1) GDAL GDAL-CONFIG(1)
2
3
4
6 gdal-config - Determines various information about a GDAL installa‐
7 tion.
8
9 Determines various information about a GDAL installation.
10
12 gdal-config [OPTIONS]
13 Options:
14 [--prefix[=DIR]]
15 [--libs]
16 [--cflags]
17 [--version]
18 [--ogr-enabled]
19 [--formats]
20
22 This utility script (available on Unix systems) can be used to deter‐
23 mine various information about a GDAL installation. It is normally just
24 used by configure scripts for applications using GDAL but can be
25 queried by an end user.
26
27 --prefix
28 the top level directory for the GDAL installation.
29
30 --libs The libraries and link directives required to use GDAL.
31
32 --cflags
33 The include and macro definition required to compiled modules
34 using GDAL.
35
36 --version
37 Reports the GDAL version.
38
39 --ogr-enabled
40 Reports "yes" or "no" to standard output depending on whether
41 OGR is built into GDAL.
42
43 --formats
44 Reports which formats are configured into GDAL to stdout.
45
47 Frank Warmerdam <warmerdam@pobox.com>
48
50 1998-2021
51
52
53
54
55 Mar 24, 2021 GDAL-CONFIG(1)