From aa3406585dafbd596444944f7c6766a428ddc201 Mon Sep 17 00:00:00 2001 From: veioenza Date: Thu, 22 Nov 2018 16:55:46 +0000 Subject: [PATCH 1/2] Added geos-config to include/lib path --- configure | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/configure b/configure index 47615f3..b9f494d 100755 --- a/configure +++ b/configure @@ -3653,8 +3653,8 @@ fi # honor PKG_xx overrides # for CPPFLAGS we will superfluously double R's flags # since we'll set PKG_CPPFLAGS with this, but that shouldn't hurt -CPPFLAGS="${CPPFLAGS} ${PKG_CPPFLAGS}" -LIBS="${LIBS} ${PKG_LIBS}" +CPPFLAGS="${CPPFLAGS} ${PKG_CPPFLAGS} ${GEOS_CPPFLAGS}" +LIBS="${LIBS} ${PKG_LIBS} ${GEOS_CLIBS}" if test ${GEOS_VER_DOT} -lt 350 ; then PKG_CPPFLAGS="${PKG_CPPFLAGS} -DPOSTGIS_GEOS_VERSION=34" From ef6bba3121cf90daefda87fb5b67d7adf1228a87 Mon Sep 17 00:00:00 2001 From: veioenza Date: Fri, 23 Nov 2018 12:50:52 +0000 Subject: [PATCH 2/2] Added PROJ_LIBS to PKG_LIBS --- configure | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/configure b/configure index b9f494d..d14a143 100755 --- a/configure +++ b/configure @@ -3332,7 +3332,8 @@ $as_echo "$as_me: PROJ: ${proj_version}" >&6;} fi fi -LIBS="${INLIBS} ${PKG_LIBS} ${PROJ_LIBS}" +PKG_LIBS="${PKG_LIBS} ${PROJ_LIBS}" +LIBS="${INLIBS} ${PKG_LIBS}" proj4ok=yes { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pj_init_plus in -lproj" >&5 @@ -3653,7 +3654,8 @@ fi # honor PKG_xx overrides # for CPPFLAGS we will superfluously double R's flags # since we'll set PKG_CPPFLAGS with this, but that shouldn't hurt -CPPFLAGS="${CPPFLAGS} ${PKG_CPPFLAGS} ${GEOS_CPPFLAGS}" +PKG_CPPFLAGS="${PKG_CPPFLAGS} ${GEOS_CPPFLAGS}" +CPPFLAGS="${CPPFLAGS} ${PKG_CPPFLAGS}" LIBS="${LIBS} ${PKG_LIBS} ${GEOS_CLIBS}" if test ${GEOS_VER_DOT} -lt 350 ; then