>>>>> Markus Neteler <nete...@osgeo.org> writes: >> Currently, GRASS doesn't compile well --without-gdal, since the >> code in `field.c' seems to assume that GDAL is available.
>> The following patch seems to fix the issue. Unless there'll be >> objections, I'm going to commit it to the trunk. >> --- field.c (revision 36440) >> +++ field.c (working copy) >> @@ -29,7 +29,9 @@ >> #include <grass/dbmi.h> >> #include <grass/Vect.h> >> +#ifdef HAVE_GDAL >> #include <gdal_version.h> /* needed for FID detection */ >> +#endif /* HAVE_GDAL */ [...] > This looks good to me (untested). At least, it compiles here (without HAVE_GDAL) fine. I've committed the change as r36464. http://trac.osgeo.org/grass/changeset/36464 -- FSF associate member #7257 _______________________________________________ grass-dev mailing list grass-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-dev