-
Notifications
You must be signed in to change notification settings - Fork 12
Expand file tree
/
Copy pathconfig.w32
More file actions
15 lines (11 loc) · 786 Bytes
/
config.w32
File metadata and controls
15 lines (11 loc) · 786 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// $Id$
// vim:ft=javascript
// If your extension references something external, use ARG_WITH
// ARG_WITH("gdal", "for gdal support", "no");
ARG_ENABLE("gdal", "enable gdal support", "no");
if (PHP_GDAL != "no") {
if (CHECK_LIB("gdal_i.lib", "gdal", PHP_GDAL) && CHECK_HEADER_ADD_INCLUDE("gdal.h", "CFLAGS_GDAL", PHP_GDAL + "\\include;" + PHP_PHP_BUILD + "\\include\\gdal;" + PHP_GDAL)) {
EXTENSION("gdal", "php_gdal.cc gdal_main.cc cpl.cc ogr.cc ogrsfdriverregistrar.cc ogrsfdriver.cc ogrdatasource.cc ogrlayer.cc ogrgeometry.cc ogrfeaturedefn.cc ogrfielddefn.cc ogrenvelope.cc ogrspatialreference.cc ogrcoordtransform.cc ogrfeature.cc gdaldrivermanager.cc gdaldriver.cc gdaldataset.cc gdalrasterband.cc ogrexception.cc");
AC_DEFINE('HAVE_GDAL', 1, 'Have GDAL library');
}
}