]> Savannah Git Hosting - gnulib.git/commitdiff
time-h: Simplify after 2017-05-01 change.
authorBruno Haible <bruno@clisp.org>
Sat, 29 Jul 2023 16:22:50 +0000 (18:22 +0200)
committerBruno Haible <bruno@clisp.org>
Sat, 29 Jul 2023 16:22:50 +0000 (18:22 +0200)
* m4/time_h.m4 (gl_TIME_H_DEFAULTS): Don't provide a default value for
GNULIB_GETTIMEOFDAY.

ChangeLog
m4/time_h.m4

index fd83cb67701fc5b4a91d37c1f30aeb3da7daf339..96c217a02eeb87e19f16031dd5363f2ef358c4f7 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,9 @@
 2023-07-29  Bruno Haible  <bruno@clisp.org>
 
+       time-h: Simplify after 2017-05-01 change.
+       * m4/time_h.m4 (gl_TIME_H_DEFAULTS): Don't provide a default value for
+       GNULIB_GETTIMEOFDAY.
+
        time-h: Obey GNULIB_POSIXCHECK, not GNULIB_PORTCHECK.
        * lib/time.in.h (timespec_get, timespec_getres, time, nanosleep, tzset,
        mktime, localtime_r, gmtime_r, localtime, strptime, ctime, strftime,
index 8cc9ac87924b33831b176b8897dff981bc938500..632d18fc0718ba2308ce8c397741ea5c43b8ac72 100644 (file)
@@ -2,7 +2,7 @@
 
 # Copyright (C) 2000-2001, 2003-2007, 2009-2023 Free Software Foundation, Inc.
 
-# serial 23
+# serial 24
 
 # This file is free software; the Free Software Foundation
 # gives unlimited permission to copy and/or distribute it,
@@ -176,8 +176,4 @@ AC_DEFUN([gl_TIME_H_DEFAULTS],
   REPLACE_TIMEGM=0;                      AC_SUBST([REPLACE_TIMEGM])
   REPLACE_TIMESPEC_GET=0;                AC_SUBST([REPLACE_TIMESPEC_GET])
   REPLACE_TZSET=0;                       AC_SUBST([REPLACE_TZSET])
-
-  dnl Hack so that the time module doesn't depend on the sys_time module.
-  dnl Default GNULIB_GETTIMEOFDAY to 0 if sys_time is absent.
-  : ${GNULIB_GETTIMEOFDAY=0};            AC_SUBST([GNULIB_GETTIMEOFDAY])
 ])