summaryrefslogtreecommitdiffstats
path: root/ast/ast_cpp.in
diff options
context:
space:
mode:
authorWilliam Joye <wjoye@cfa.harvard.edu>2018-01-09 19:28:07 (GMT)
committerWilliam Joye <wjoye@cfa.harvard.edu>2018-01-09 19:28:07 (GMT)
commit3bfbbb90d4d6ebd44cc5eac38af24d1f78318a58 (patch)
treef278119398ae5d67a6a338705a76db420f6b8f7e /ast/ast_cpp.in
parent1332d38f2805d986ea130e43218c0d2e870b4dc1 (diff)
downloadblt-3bfbbb90d4d6ebd44cc5eac38af24d1f78318a58.zip
blt-3bfbbb90d4d6ebd44cc5eac38af24d1f78318a58.tar.gz
blt-3bfbbb90d4d6ebd44cc5eac38af24d1f78318a58.tar.bz2
update ast 8.6.2
Diffstat (limited to 'ast/ast_cpp.in')
-rw-r--r--ast/ast_cpp.in11
1 files changed, 11 insertions, 0 deletions
diff --git a/ast/ast_cpp.in b/ast/ast_cpp.in
new file mode 100644
index 0000000..c4fb206
--- /dev/null
+++ b/ast/ast_cpp.in
@@ -0,0 +1,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