[GRASS-SVN] r60072 - grass/branches/releasebranch_6_4/lib/gis

svn_grass at osgeo.org svn_grass at osgeo.org
Sun May 4 09:48:59 PDT 2014


Author: neteler
Date: 2014-05-04 09:48:59 -0700 (Sun, 04 May 2014)
New Revision: 60072

Modified:
   grass/branches/releasebranch_6_4/lib/gis/gdal.c
Log:
libgis: enable also gdal111.dll; debug message backported

Modified: grass/branches/releasebranch_6_4/lib/gis/gdal.c
===================================================================
--- grass/branches/releasebranch_6_4/lib/gis/gdal.c	2014-05-04 16:47:54 UTC (rev 60071)
+++ grass/branches/releasebranch_6_4/lib/gis/gdal.c	2014-05-04 16:48:59 UTC (rev 60072)
@@ -91,6 +91,7 @@
 	"libgdal1.7.0.so",
 # endif
 # ifdef _WIN32
+	"gdal111.dll",
 	"gdal110.dll",
 	"gdal19.dll",
 	"gdal18.dll",
@@ -108,8 +109,10 @@
 
     for (i = 0; candidates[i]; i++) {
 	try_load_library(candidates[i]);
-	if (library_h)
+	if (library_h) {
+	    G_debug(3, "found %s", candidates[i]);
 	    return;
+	}
     }
 
     G_fatal_error(_("Unable to load GDAL library"));



More information about the grass-commit mailing list