Description: find postgresql header files
 add some additional paths for postgresql header files as postgres.h and pg_type.h
 have moved into debia package postgresql-server-dev-X.Y
Bug-Debian: http://bugs.debian.org/741789

Index: gambas3-3.5.2/gb.db.postgresql/configure.ac
===================================================================
--- gambas3-3.5.2.orig/gb.db.postgresql/configure.ac	2014-04-06 04:34:28.520013576 +0000
+++ gambas3-3.5.2/gb.db.postgresql/configure.ac	2014-04-06 04:34:28.510012934 +0000
@@ -9,7 +9,7 @@
 
 GB_COMPONENT(
   postgresql, POSTGRESQL, gb.db.postgresql, [src],
-  [GB_FIND(libpq-fe.h postgres.h pg_type.h, /usr/local/lib /usr/local /opt /usr/lib /usr, include/pgsql* pgsql*/include include/postgresql* postgresql*/include include)],
+  [GB_FIND(libpq-fe.h postgres.h pg_type.h, /usr/local/lib /usr/local /opt /usr/lib /usr, include/pgsql* pgsql*/include include/postgresql* postgresql*/include include include/postgresql/*/server/catalog include/postgresql/*/server)],
   [GB_FIND(libpq.$SHLIBEXT, /usr/local /opt /usr, lib pgsql*/lib postgresql*/lib)],
   [$C_LIB -lpq])
  
