From: Sandro Santilli Date: Fri, 22 Mar 2013 11:20:07 +0000 (+0000) Subject: Add '-x c' switch to CPP / CC when used as SQL preprocessor X-Git-Tag: 2.1.0beta2~153 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=9c6605f9513f3326e59fdcc95013e44d5e460d0f;p=postgis 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 --- 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])