1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-05-19 19:20:23 +02:00
guile/libguile/guile-snarf.in
Jim Blandy 63a646c5c5 * guile-snarf.in: Never generate an empty file. (Thanks to
Richard Polton.)
Bug reports from Russ McManus:
* guile-snarf.in: If the CPP environment variable is set, use that
as the C preprocessor, instead of the preprocessor autoconf
found.
* snarf.h (SCM_PROC): Cast the function pointer passed to
scm_make_gsubr, to satisfy C++.
1998-10-24 20:55:15 +00:00

10 lines
332 B
Bash

#!/bin/sh
# Extract the initialization actions for builtin things.
## Let the user override the preprocessor autoconf found.
test -n "${CPP+set}" || CPP="@CPP@"
${CPP} -DSCM_MAGIC_SNARFER "$@" | grep "^ *% *% *%" | sed -e "s/^ *% *% *%//"
## Apparently, AIX's preprocessor is unhappy if you try to #include an
## empty file.
echo