michael@793: Index: Makefile.in michael@793: --- Makefile.in.orig 2002-03-16 11:12:40.000000000 +0100 michael@793: +++ Makefile.in 2005-10-03 12:41:14.784073276 +0200 michael@793: @@ -47,7 +47,7 @@ michael@793: ${SHCC} ${CFLAGS} ${INCLUDES} -o ${INSPECT} ${INSPECT}.c ${COMMON}.o ${LIBS} michael@793: michael@793: ${SAVE}: ${SAVE}.c michael@793: - ${SHCC} ${CFLAGS} ${INCLUDES} -static -o ${SAVE} ${SAVE}.c michael@793: + ${SHCC} ${CFLAGS} ${INCLUDES} -o ${SAVE} ${SAVE}.c michael@793: michael@793: ${SHLIB}: ${OBJS} ${COMMON}.o ${PARSER}.o michael@793: ${SHCC} ${CFLAGS} ${INCLUDES} -nostdlib -shared -o ${SHLIB} ${OBJS} ${COMMON}.o ${PARSER}.o ${DYNLIB_FLAGS} ${SPECIALLIBS} ${LIBS} michael@793: Index: configure michael@793: --- configure.orig 2002-07-16 00:51:08.000000000 +0200 michael@793: +++ configure 2005-10-03 12:39:39.531996286 +0200 michael@793: @@ -2151,6 +2151,7 @@ michael@793: #line 2152 "configure" michael@793: #include "confdefs.h" michael@793: michael@793: + #include michael@793: #include michael@793: int connect($testproto); michael@793: michael@793: @@ -2227,14 +2228,17 @@ michael@793: michael@793: echo $ac_n "checking for correct poll prototype""... $ac_c" 1>&6 michael@793: echo "configure:2230: checking for correct poll prototype" >&5 michael@793: -PROTO= michael@793: -for testproto in 'struct pollfd *ufds, unsigned long nfds, int timeout' michael@793: +PROTO1="struct pollfd ufds[], nfds_t nfds, int timeout" michael@793: +PROTO2="struct pollfd *ufds, unsigned int nfds, int timeout" michael@793: +PROTO3="struct pollfd *ufds, nfds_t nfds, int timeout" michael@793: +for PROTO in "$PROTO1" "$PROTO2" "$PROTO3" michael@793: do michael@793: if test "${PROTO}" = ""; then michael@793: cat > conftest.$ac_ext < michael@793: #include michael@793: int poll($testproto); michael@793: michael@793: Index: parser.c michael@793: --- parser.c.orig 2002-03-13 13:34:22.000000000 +0100 michael@793: +++ parser.c 2005-10-03 12:39:39.532768730 +0200 michael@793: @@ -4,6 +4,7 @@ michael@793: michael@793: */ michael@793: michael@793: +#include michael@793: #include michael@793: #include michael@793: #include