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:
parent
a08377c3b7
commit
63a646c5c5
1 changed files with 7 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue