Hi,

2013/8/14 Even Rouault <even.roua...@mines-paris.org>:
> Le mercredi 14 août 2013 14:25:10, Martin Landa a écrit :
>> Hi,
>>
>> 2013/8/14 Even Rouault <even.roua...@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
_______________________________________________
gdal-dev mailing list
gdal-dev@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/gdal-dev

Reply via email to