]> granicus.if.org Git - postgis/commitdiff
Error out at configure time if no SQL preprocessor can be found
authorSandro Santilli <strk@keybit.net>
Sun, 9 Mar 2014 18:51:05 +0000 (18:51 +0000)
committerSandro Santilli <strk@keybit.net>
Sun, 9 Mar 2014 18:51:05 +0000 (18:51 +0000)
Closes #2666

git-svn-id: http://svn.osgeo.org/postgis/trunk@12311 b70326c6-7e19-0410-871a-916f4a2858ee

NEWS
configure.ac

diff --git a/NEWS b/NEWS
index 521b7bb59a2984f1fc1a07639ee3c0a11d66d48a..662f4df4ea4ad80a9b1abdd98f8852d901c4eeaa 100644 (file)
--- 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
index b2d250df0b625a64be33941ab2d238d53c8d1149..e317ca514d27b192cb7d9067619454caedbe48dc 100644 (file)
@@ -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])