[postgis-tickets] [SCM] PostGIS branch stable-3.1 updated. 3.1.1-9-g0c0f2e4

git at osgeo.org git at osgeo.org
Tue Feb 9 11:58:58 PST 2021


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "PostGIS".

The branch, stable-3.1 has been updated
       via  0c0f2e4a51184d8f09efac2ef8656f22fad53eb5 (commit)
       via  9522a6f869ee6d170d97e7c593d7e5d71ec02a9b (commit)
      from  a1931909dc50e72767f3735f0d60502ef8dd5f97 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 0c0f2e4a51184d8f09efac2ef8656f22fad53eb5
Author: Paul Ramsey <pramsey at cleverelephant.ca>
Date:   Tue Feb 9 11:58:47 2021 -0800

    Note support for newer Proj

diff --git a/NEWS b/NEWS
index 60803fb..725aaa6 100644
--- a/NEWS
+++ b/NEWS
@@ -7,6 +7,7 @@ PostGIS 3.1.2
            (Regina Obe)
   - #4817, handle more complex compound coordinate dystems (Paul Ramsey)
   - #4842, Only do axis flips on CRS that have a "Lat" as the first column (Paul Ramsey)
+  - Support recent Proj versions that have removed pj_get_release (Paul Ramsey)
 
 
 PostGIS 3.1.1

commit 9522a6f869ee6d170d97e7c593d7e5d71ec02a9b
Author: Paul Ramsey <pramsey at cleverelephant.ca>
Date:   Tue Feb 9 11:57:04 2021 -0800

    If pg_get_release is not present, test for proj_info instead when configuring.

diff --git a/configure.ac b/configure.ac
index 1bc6cca..0712658 100644
--- a/configure.ac
+++ b/configure.ac
@@ -902,12 +902,15 @@ AC_SUBST([PROJ_LDFLAGS])
 dnl Ensure we can link against libproj
 LIBS_SAVE="$LIBS"
 LIBS="$PROJ_LDFLAGS"
-AC_CHECK_LIB([proj], [pj_get_release],
-	[],
-	[AC_MSG_ERROR([could not find libproj - you may need to specify the directory of a PROJ installation using --with-projdir])],
+AC_CHECK_LIB([proj], [pj_get_release], [],
+	[AC_CHECK_LIB([proj], [proj_info], [],
+		[AC_MSG_ERROR([could not find libproj - you may need to specify the directory of a PROJ installation using --with-projdir])],
+		[]
+		)],
 	[])
 LIBS="$LIBS_SAVE"
 
+
 dnl ===========================================================================
 dnl Detect if json-c installed
 dnl ===========================================================================

-----------------------------------------------------------------------

Summary of changes:
 NEWS         | 1 +
 configure.ac | 9 ++++++---
 2 files changed, 7 insertions(+), 3 deletions(-)


hooks/post-receive
-- 
PostGIS


More information about the postgis-tickets mailing list