[SCM] PostGIS branch stable-3.4 updated. 3.4.1-37-ge63018427
git at osgeo.org
git at osgeo.org
Wed Feb 7 14:20:39 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, stable-3.4 has been updated
via e63018427fcd73a185fdd51822ec43c629915e3e (commit)
from a3df807e2782ec77ee8f5d30e91903d4290f7453 (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 e63018427fcd73a185fdd51822ec43c629915e3e
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 858110d82..baa0f1762 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1491,9 +1491,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