From 9c6605f9513f3326e59fdcc95013e44d5e460d0f Mon Sep 17 00:00:00 2001 From: Sandro Santilli Date: Fri, 22 Mar 2013 11:20:07 +0000 Subject: [PATCH] Add '-x c' switch to CPP / CC when used as SQL preprocessor Hopefully it'll set us free to name our input files with any extension we decide. git-svn-id: http://svn.osgeo.org/postgis/trunk@11195 b70326c6-7e19-0410-871a-916f4a2858ee --- configure.ac | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/configure.ac b/configure.ac index 308bd9e6f..d0a42a1f2 100644 --- a/configure.ac +++ b/configure.ac @@ -34,13 +34,13 @@ dnl SQL Preprocessor dnl AC_PATH_PROG([CPPBIN], [cpp], []) if test "x$CPPBIN" != "x"; then - SQLPP="${CPPBIN} -traditional-cpp -P" + SQLPP="${CPPBIN} -traditional-cpp -P -x c" 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" + SQLPP="${CPP} -traditional-cpp -x c" fi fi AC_SUBST([SQLPP]) -- 2.50.1