From: Sandro Santilli Date: Sun, 9 Mar 2014 18:51:05 +0000 (+0000) Subject: Error out at configure time if no SQL preprocessor can be found X-Git-Tag: 2.2.0rc1~1201 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=f2073f19e9538a6fae0cb318ea84d316c692760e;p=postgis Error out at configure time if no SQL preprocessor can be found Closes #2666 git-svn-id: http://svn.osgeo.org/postgis/trunk@12311 b70326c6-7e19-0410-871a-916f4a2858ee --- diff --git a/NEWS b/NEWS index 521b7bb59..662f4df4e 100644 --- a/NEWS +++ b/NEWS @@ -35,6 +35,7 @@ PostGIS 2.2.0 * Bug Fixes * + - #2666, Error out at configure time if no SQL preprocessor can be found - #2371, Support GEOS versions with more than 1 digit in micro - #2383, Removed unsafe use of \' from raster warning message - #2384, Fixed variable datatype in ST_Neighborhood diff --git a/configure.ac b/configure.ac index b2d250df0..e317ca514 100644 --- a/configure.ac +++ b/configure.ac @@ -40,7 +40,11 @@ else if test "x$GPP" != "x"; then SQLPP="${GPP} -C -s \'" dnl Use better string support else - SQLPP="${CPP} -traditional-cpp" + if test "x${CPP}" != "x"; then + SQLPP="${CPP} -traditional-cpp" + else + AC_MSG_ERROR([Required "cpp" command not found]) + fi fi fi AC_SUBST([SQLPP])