From d464bb2f89b4208ac306f416becd40f154ab788c Mon Sep 17 00:00:00 2001 From: Sandro Santilli Date: Thu, 26 Jun 2014 08:02:11 +0000 Subject: [PATCH] Fix handling of bogus argument passed to --with-sfcgal (#2784) Patch by Vincent Mora git-svn-id: http://svn.osgeo.org/postgis/trunk@12664 b70326c6-7e19-0410-871a-916f4a2858ee --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index 5ac96dfa2..7fe5fafa7 100644 --- a/configure.ac +++ b/configure.ac @@ -632,7 +632,7 @@ HAVE_SFCGAL="no" if test "x$with_sfcgal" != "xno"; then if test -x "$SFCGAL_CONFIG"; then - SFCGAL_VERSION=`$SFCGAL_CONFIG --version` + SFCGAL_VERSION=`$SFCGAL_CONFIG --version` || AC_MSG_ERROR([cannot determine sfcgal version (tried with $SFCGAL_CONFIG --version)]) SFCGAL_LDFLAGS=`$SFCGAL_CONFIG --libs` SFCGAL_CPPFLAGS=`$SFCGAL_CONFIG --cflags`" -DHAVE_SFCGAL" -- 2.50.1