2007-01-18 Bruno Haible <bruno@clisp.org>
+ * m4/mktime.m4 (AC_FUNC_MKTIME): Remove test for <sys/time.h>.
+ * m4/strftime.m4 (gl_FUNC_STRFTIME): Likewise.
+
* m4/tempname.m4 (gl_PREREQ_TEMPNAME): Remove tests for sys/time.h and
gettimeofday.
-#serial 10
+#serial 11
dnl Copyright (C) 2002, 2003, 2005, 2006, 2007 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
# AC_FUNC_MKTIME
# --------------
AC_DEFUN([AC_FUNC_MKTIME],
-[AC_CHECK_HEADERS_ONCE(sys/time.h unistd.h)
+[AC_CHECK_HEADERS_ONCE(unistd.h)
AC_CHECK_FUNCS_ONCE(alarm)
AC_CACHE_CHECK([for working mktime], ac_cv_func_working_mktime,
[AC_RUN_IFELSE([AC_LANG_SOURCE(
AC_REQUIRE([gl_TM_GMTOFF])
AC_CHECK_FUNCS_ONCE(mblen mbrlen mempcpy tzset)
- AC_CHECK_HEADERS_ONCE(sys/time.h wchar.h)
+ AC_CHECK_HEADERS_ONCE(wchar.h)
AC_DEFINE([my_strftime], [nstrftime],
[Define to the name of the strftime replacement function.])