]> granicus.if.org Git - postgis/commitdiff
Revert "Add '-x c' switch to CPP / CC when used as SQL preprocessor"
authorSandro Santilli <strk@keybit.net>
Fri, 22 Mar 2013 16:12:20 +0000 (16:12 +0000)
committerSandro Santilli <strk@keybit.net>
Fri, 22 Mar 2013 16:12:20 +0000 (16:12 +0000)
It seems it wasn't needed, see #2239

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

configure.ac

index d0a42a1f2d034603de80949d9c09a3237c0a68c6..308bd9e6f4fb806703dc2f9e59264ba60e73d806 100644 (file)
@@ -34,13 +34,13 @@ dnl SQL Preprocessor
 dnl
 AC_PATH_PROG([CPPBIN], [cpp], [])
 if test "x$CPPBIN" != "x"; then
-  SQLPP="${CPPBIN} -traditional-cpp -P -x c"
+  SQLPP="${CPPBIN} -traditional-cpp -P"
 else
   AC_PATH_PROG([GPP], [gpp_], [])
   if test "x$GPP" != "x"; then
     SQLPP="${GPP} -C -s \'" dnl Use better string support
   else
-    SQLPP="${CPP} -traditional-cpp -x c"
+    SQLPP="${CPP} -traditional-cpp"
   fi
 fi
 AC_SUBST([SQLPP])