1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-05-20 11:40:18 +02:00

* 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++.
This commit is contained in:
Jim Blandy 1998-10-24 20:55:15 +00:00
parent a08377c3b7
commit 63a646c5c5

View file

@ -1,4 +1,10 @@
#!/bin/sh
# Extract the initialization actions for builtin things.
@CPP@ -DSCM_MAGIC_SNARFER "$@" | grep "^ *% *% *%" | sed -e "s/^ *% *% *%//"
## 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