configure should detect if GRASS is compiled with Postgres
marisn opened this issue · 2 comments
marisn commented
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