From: Sandro Santilli Date: Thu, 26 Jun 2014 08:02:11 +0000 (+0000) Subject: Fix handling of bogus argument passed to --with-sfcgal (#2784) X-Git-Tag: 2.2.0rc1~1055 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=d464bb2f89b4208ac306f416becd40f154ab788c;p=postgis 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 --- 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"