[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Cvs-cvs] Changes to ccvs/m4/mktime.m4
From: |
Derek Robert Price |
Subject: |
[Cvs-cvs] Changes to ccvs/m4/mktime.m4 |
Date: |
Mon, 03 Oct 2005 22:34:07 -0400 |
Index: ccvs/m4/mktime.m4
diff -u ccvs/m4/mktime.m4:1.2 ccvs/m4/mktime.m4:1.3
--- ccvs/m4/mktime.m4:1.2 Tue Mar 1 18:15:07 2005
+++ ccvs/m4/mktime.m4 Tue Oct 4 02:33:12 2005
@@ -1,5 +1,5 @@
-# mktime.m4 serial 5
-dnl Copyright (C) 2002, 2003 Free Software Foundation, Inc.
+#serial 7
+dnl Copyright (C) 2002, 2003, 2005 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.
@@ -14,8 +14,8 @@
# --------------
AC_DEFUN([AC_FUNC_MKTIME],
[AC_REQUIRE([AC_HEADER_TIME])dnl
-AC_CHECK_HEADERS(stdlib.h sys/time.h unistd.h)
-AC_CHECK_FUNCS(alarm)
+AC_CHECK_HEADERS_ONCE(sys/time.h)
+AC_CHECK_FUNCS_ONCE(alarm)
AC_CACHE_CHECK([for working mktime], ac_cv_func_working_mktime,
[AC_RUN_IFELSE([AC_LANG_SOURCE(
[[/* Test program from Paul Eggert and Tony Leneis. */
@@ -30,13 +30,8 @@
# endif
#endif
-#if HAVE_STDLIB_H
-# include <stdlib.h>
-#endif
-
-#if HAVE_UNISTD_H
-# include <unistd.h>
-#endif
+#include <stdlib.h>
+#include <unistd.h>
#if !HAVE_ALARM
# define alarm(X) /* empty */
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Cvs-cvs] Changes to ccvs/m4/mktime.m4,
Derek Robert Price <=