[postgis-tickets] [SCM] PostGIS branch master updated. 3.2.0-546-g249706dcb

git at osgeo.org git at osgeo.org
Wed Feb 16 15:27:50 PST 2022


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, master has been updated
       via  249706dcb81f23da4e6aac1cece4873a1f17de65 (commit)
      from  9d58887f81ea41edb878747949756e8632f48a78 (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 249706dcb81f23da4e6aac1cece4873a1f17de65
Author: Sandro Santilli <strk at kbt.io>
Date:   Thu Feb 17 00:27:06 2022 +0100

    Implement configure check for source dir being already configured
    
    Closes #5098

diff --git a/configure.ac b/configure.ac
index fe9de0bcb..4eef0af2f 100644
--- a/configure.ac
+++ b/configure.ac
@@ -10,6 +10,15 @@ dnl *
 dnl **********************************************************************
 
 AC_INIT
+
+# test to see if srcdir already configured, when
+# building out of tree
+if test "`cd $srcdir && pwd`" != "`pwd`"; then
+  if test -f $srcdir/config.status; then
+    AC_MSG_ERROR([source directory already configured; run "make distclean" there first])
+  fi
+fi
+
 AC_CONFIG_HEADERS([postgis_config.h])
 AH_TEMPLATE([HAVE_VASPRINTF])
 AH_TEMPLATE([HAVE_ASPRINTF])

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

Summary of changes:
 configure.ac | 9 +++++++++
 1 file changed, 9 insertions(+)


hooks/post-receive
-- 
PostGIS


More information about the postgis-tickets mailing list