-DMULTIBYTE_FILENAME=1
-Dinterrupt=dummy__
-DNEED_INCREMENTAL_INDICATOR=1
- -D__builtin_va_list=int
- -D__extension__=
'
# `interrupt' is the reserved word for cproto.
SOURCES='append.c bitio.c crcio.c dhuf.c extract.c header.c
- huf.c larc.c lhadd.c lharc.c lhext.c
+ huf.c indicator.c larc.c lhadd.c lharc.c lhext.c
lhlist.c maketbl.c maketree.c patmatch.c
shuf.c slide.c util.c
'
END
cproto $CPROTO_FLAGS $CPPFLAGS $SOURCES |
- grep -v -e '^int main ' | sed -e 's/dummy__/interrupt/'
+ sed -e '/^int main /d' -e 's/dummy__/interrupt/'
cat <<END
#if !HAVE_STRCASECMP
int strcasecmp P_((const char *p1, const char *p2));
#endif
-#if !HAVE_BASENAME
+#if defined HAVE_DECL_BASENAME && !HAVE_DECL_BASENAME
char *basename P_((char *s));
#endif