*** ./configure.ORIG Mon Feb 7 10:08:19 2011 --- ./configure Mon Feb 7 10:08:54 2011 *************** *** 4203,4211 **** fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ! { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -pedantic" >&5 ! $as_echo_n "checking whether $CC accepts -pedantic... " >&6; } ! valid_CFLAGS="$CFLAGS"; CFLAGS="$CFLAGS -pedantic" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int main() {return 0;} --- 4203,4211 ---- fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ! #{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -pedantic" >&5 ! #$as_echo_n "checking whether $CC accepts -pedantic... " >&6; } ! #valid_CFLAGS="$CFLAGS"; CFLAGS="$CFLAGS -pedantic" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int main() {return 0;} *** ./src/str.c.ORIG Thu May 5 13:31:06 2011 --- ./src/str.c Thu May 5 14:14:33 2011 *************** *** 80,86 **** #else /* gcc Thread-Local Storage */ ! static __thread STR *root_str=NULL; void str_init() { if(root_str) --- 80,86 ---- #else /* gcc Thread-Local Storage */ ! static STR *root_str=NULL; void str_init() { if(root_str) *************** *** 192,197 **** --- 192,201 ---- return retval; } + #ifndef va_copy + # define va_copy(__list1,__list2) ((void)(__list1 = __list2)) + #endif + char *str_vprintf(const char *format, va_list start_ap) { int n, size=64; char *p, *np;