1 diff -ur metalog-0.7_org/configure.ac metalog-0.7_patch/configure.ac
2 --- metalog-0.7_org/configure.ac 2003-04-06 23:21:05.000000000 +0200
3 +++ metalog-0.7_patch/configure.ac 2004-07-19 14:41:48.226352264 +0200
8 -AC_MSG_CHECKING(whether snprintf is C99 conformant)
27 - (void) fprintf(fopen("conftestval", "wt"), "%d\n",
28 - (int) snprintf(buf, sizeof buf, "12345678"));
32 -CONF_SNPRINTF_TYPE=`cat conftestval`
35 -if test "x$CONF_SNPRINTF_TYPE" = "x" ; then
36 - AC_MSG_WARN(your operating system doesn't implement snprintf)
38 - AC_DEFINE_UNQUOTED(CONF_SNPRINTF_TYPE, $CONF_SNPRINTF_TYPE, [return value of an overflowed snprintf])