[GRASS-SVN] r60071 - grass/branches/develbranch_6/lib/gis

svn_grass at osgeo.org svn_grass at osgeo.org
Sun May 4 09:47:54 PDT 2014


Author: neteler
Date: 2014-05-04 09:47:54 -0700 (Sun, 04 May 2014)
New Revision: 60071

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

Modified: grass/branches/develbranch_6/lib/gis/gdal.c
===================================================================
--- grass/branches/develbranch_6/lib/gis/gdal.c	2014-05-04 16:45:36 UTC (rev 60070)
+++ grass/branches/develbranch_6/lib/gis/gdal.c	2014-05-04 16:47:54 UTC (rev 60071)
@@ -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