summaryrefslogtreecommitdiffstats
path: root/ast/ast_cpp.in
blob: c4fb2065389e0fc7111b7cec0c51bfcf80eeddc4 (plain)
1
2
3
4
5
6
7
8
9
10
11

# Replacement for the C pre-processor command "cpp" which is not
# always available. This uses the compiler command "cc" to do the same
# thing.  Also, this reads from standard input (which "cc" won't do).
#
# The name of the CPP processor is substituted in by the ./configure script,
# based on the result of the AC_PROG_CPP test.

cat >/tmp/ast_cpp_$$.c
@CPP@ /tmp/ast_cpp_$$.c
rm -f /tmp/ast_cpp_$$.c