summaryrefslogtreecommitdiffstats
path: root/ast/ast_cpp.in
diff options
context:
space:
mode:
authorWilliam Joye <wjoye@cfa.harvard.edu>2019-05-10 16:24:30 (GMT)
committerWilliam Joye <wjoye@cfa.harvard.edu>2019-05-10 16:24:30 (GMT)
commit97d207f0a76b98e4a4d4a74b7417fc9aa7828654 (patch)
tree0155897549ec7a272d0453351e9da374ae34c8a9 /ast/ast_cpp.in
parente9ad1f4c4c12164247d284f2d1824b75e35de23f (diff)
downloadblt-97d207f0a76b98e4a4d4a74b7417fc9aa7828654.zip
blt-97d207f0a76b98e4a4d4a74b7417fc9aa7828654.tar.gz
blt-97d207f0a76b98e4a4d4a74b7417fc9aa7828654.tar.bz2
upgrade ast 8.7.1
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