File: ast_cpp.in

package info (click to toggle)
starlink-ast 9.2.3%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 27,508 kB
  • sloc: ansic: 188,436; sh: 11,451; makefile: 711; perl: 166
file content (15 lines) | stat: -rw-r--r-- 592 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15

# 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.
#
#  The first (and only) argument for this script should be the path to
#  the directory containing the header files. This is passed to the C 
#  pre-processor using the -I option.

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