[SCM] PostGIS branch master updated. 3.4.0rc1-913-g6d8aa3f75

git at osgeo.org git at osgeo.org
Wed Feb 7 14:19:04 PST 2024


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  6d8aa3f758649f75bdd08b1f287bc1f306c5b538 (commit)
      from  fcdf1f229798936166f8b859d4aeb76a2cf5fc39 (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 6d8aa3f758649f75bdd08b1f287bc1f306c5b538
Author: Sandro Santilli <strk at kbt.io>
Date:   Wed Feb 7 23:18:04 2024 +0100

    Improve error message for bogus argument to --with-gdalconfig

diff --git a/configure.ac b/configure.ac
index 74808d679..15f821673 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1585,9 +1585,15 @@ if test "x$with_raster" != "xno"; then
 	AC_ARG_WITH(
 		[gdalconfig],
 		AS_HELP_STRING([--with-gdalconfig=@<:@ARG@:>@],[specify location of gdal-config (ARG=path).  Only used with --with-raster]),
-		[GDAL_CONFIG="$withval"],
+		[
+			if test -f "$withval"; then
+				GDAL_CONFIG="$withval"
+			else
+				AC_MSG_ERROR([the user-specified gdal-config file $withval does not exist])
+			fi
+		],
 		[AC_PATH_PROG([GDAL_CONFIG], [gdal-config], [])]
-  )
+	)
 
 	AC_MSG_CHECKING([GDAL version])
 

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

Summary of changes:
 configure.ac | 10 ++++++++--
 1 file changed, 8 insertions(+), 2 deletions(-)


hooks/post-receive
-- 
PostGIS


More information about the postgis-tickets mailing list