OSGeo/gdal-grass

configure should detect if GRASS is compiled with Postgres

marisn opened this issue · 2 comments

If GRASS is compiled with PG, then it is necessary to provide PG includes and linking parameters also for gdal-grass as include/grass/config.h then has #define HAVE_POSTGRES 1 affecting include/grass/vect/dig_structs.h

Symptom for a reference:
include/grass/vect/dig_structs.h:31:10: fatal error: libpq-fe.h: No such file or directory

On it, but prior to that I plan to update configure with autoconf-2.71, see #15

@marisn pls test #16