Mercurial > hg > octave-lojdl > gnulib-hg
changeset 7906:16c8e82ea71c
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.
author | Bruno Haible <bruno@clisp.org> |
---|---|
date | Fri, 19 Jan 2007 02:14:42 +0000 |
parents | 26b73d1760df |
children | 1be30ef548f5 |
files | ChangeLog m4/mktime.m4 m4/strftime.m4 |
diffstat | 3 files changed, 6 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- 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.
--- a/m4/mktime.m4 +++ b/m4/mktime.m4 @@ -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 @@ # 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(
--- a/m4/strftime.m4 +++ b/m4/strftime.m4 @@ -25,7 +25,7 @@ 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.])