2007-01-18 Bruno Haible <bruno@clisp.org>
authorBruno Haible <bruno@clisp.org>
Fri, 19 Jan 2007 02:14:42 +0000 (02:14 +0000)
committerBruno Haible <bruno@clisp.org>
Fri, 19 Jan 2007 02:14:42 +0000 (02:14 +0000)
        * m4/mktime.m4 (AC_FUNC_MKTIME): Remove test for <sys/time.h>.
        * m4/strftime.m4 (gl_FUNC_STRFTIME): Likewise.

ChangeLog
m4/mktime.m4
m4/strftime.m4

index 25d46cd..4b32b18 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 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.
 
index b0eac13..44e30ba 100644 (file)
@@ -1,4 +1,4 @@
-#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,
@@ -13,7 +13,7 @@ dnl From Jim Meyering.
 # 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(
index ec5873a..81e7cc6 100644 (file)
@@ -25,7 +25,7 @@ AC_DEFUN([gl_FUNC_STRFTIME],
  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.])