AX_LIB_GDAL([MINIMUM-VERSION])
This macro provides tests of availability of GDAL/OGR library of particular version or newer.
AX_LIB_GDAL macro takes only one argument which is optional. If there is no required version passed, then macro does not run version test.
The –with-gdal option takes complete path to gdal-config utility,
This macro calls AC_SUBST for:
GDAL_VERSION GDAL_CFLAGS GDAL_LDFLAGS GDAL_DEP_LDFLAGS GDAL_OGR_ENABLED
and AC_DEFINE for:
HAVE_GDAL HAVE_GDAL_OGR
Download the latest version of ax_lib_gdal.m4 or browse the macro’s revision history.
Copyright © 2011 Mateusz Loskot mateusz@loskot.net
Copyright © 2011 Alessandro Candini candini@meeo.it
Copying and distribution of this file, with or without modification, are permitted in any medium without royalty provided the copyright notice and this notice are preserved. This file is offered as-is, without any warranty.