This file is part of mingw-cross-env. See doc/index.html for further information. diff -ru gdal-1.7.1.orig/configure.in gdal-1.7.1/configure.in --- gdal-1.7.1.orig/configure.in 2010-02-08 20:52:34.000000000 +0100 +++ gdal-1.7.1/configure.in 2010-02-15 15:39:39.000000000 +0100 @@ -418,7 +418,7 @@ AC_MSG_RESULT([yes]) ax_save_LIBS="${LIBS}" - LIBS=-L`$PG_CONFIG --libdir`" -lpq" + LIBS=-L`$PG_CONFIG --libdir`" -lpq $LIBS" AC_CHECK_LIB(pq,PQconnectdb,HAVE_PG=yes,HAVE_PG=no,) LIBS="${ax_save_LIBS}"