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