On a debian-derivate system, the call may prints on stderr:
" You need to install postgresql-server-dev-X.Y for building
a server-side extension or libpq-dev for building a client-side
application. "
This has been seen on a Trisquel 7.0 GNU/Linux system.
git-svn-id: http://svn.osgeo.org/postgis/trunk@14399
b70326c6-7e19-0410-871a-
916f4a2858ee
dnl ===========================================================================
PGXS=`$PG_CONFIG --pgxs`
- if test ! -f $PGXS; then
+ if test "x$PGXS" = "x" -o ! -f "$PGXS"; then
AC_MSG_ERROR([the PGXS Makefile $PGXS cannot be found. Please install the PostgreSQL server development packages and re-run configure.])
fi