[gdal-dev] gdal - grass 7 (conf)

Martin Landa landa.martin at gmail.com
Mon Aug 19 13:29:59 PDT 2013


Hi,

2013/8/14 Even Rouault <even.rouault at mines-paris.org>:
> Le mercredi 14 août 2013 14:25:10, Martin Landa a écrit :
>> Hi,
>>
>> 2013/8/14 Even Rouault <even.rouault at mines-paris.org>:
>> > Cool.  Just a question. I see $(PG_INC) in the GNUmakefile : just curious
>> > why it is needed ?
>>
>> GRASS 7 vector libraries can be optionally compiled with native
>> PostGIS support [1].
>
> And that also requires code using GRASS libraries to have Postgres include
> headers available ? If that's the case, $(PG_INC) might not be sufficient in
> case a GDAL build is done --without-pg where $(PG_INC) would expend to empty.

$(PG_INC) is needed just because GRASS headers includes it [1]. This
should be probably fixed on GRASS side(?).

Thanks, Martin

[1] http://trac.osgeo.org/grass/browser/grass/trunk/include/vect/dig_structs.h#L33


More information about the gdal-dev mailing list