The attached patch removes reference to AC_STRUCT_TM, which is declared obsolescent by Autoconf 2.60. `struct tm' is also part of C89.
2006-06-29 Derek R. Price <[EMAIL PROTECTED]> * m4/posixtm.m4: Don't call obsolescent AC_STRUCT_TM. * lib/posixtm.c: Assume <time.h> has struct tm. Cheers, Derek -- Derek R. Price CVS Solutions Architect Get CVS support at Ximbiot <http://ximbiot.com>! v: +1 248.835.1260 f: +1 248.835.1263 <mailto:[EMAIL PROTECTED]>
Index: lib/posixtm.c =================================================================== RCS file: /cvsroot/gnulib/gnulib/lib/posixtm.c,v retrieving revision 1.22 diff -u -p -r1.22 posixtm.c --- lib/posixtm.c 9 Jan 2006 23:13:56 -0000 1.22 +++ lib/posixtm.c 29 Jun 2006 18:16:58 -0000 @@ -31,11 +31,7 @@ #include <sys/types.h> #include <string.h> -#ifdef TM_IN_SYS_TIME -# include <sys/time.h> -#else -# include <time.h> -#endif +#include <time.h> #include "posixtm.h" Index: m4/posixtm.m4 =================================================================== RCS file: /cvsroot/gnulib/gnulib/m4/posixtm.m4,v retrieving revision 1.4 diff -u -p -r1.4 posixtm.m4 --- m4/posixtm.m4 21 Mar 2005 22:06:27 -0000 1.4 +++ m4/posixtm.m4 29 Jun 2006 18:16:58 -0000 @@ -1,5 +1,5 @@ # posixtm.m4 serial 4 -dnl Copyright (C) 2002, 2003, 2005 Free Software Foundation, Inc. +dnl Copyright (C) 2002, 2003, 2005, 2006 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. @@ -10,5 +10,4 @@ AC_DEFUN([gl_POSIXTM], AC_LIBOBJ(posixtm) dnl Prerequisites of lib/posixtm.c. - AC_STRUCT_TM ])