diff options
author | Lorenz Kästle <12514511+RincewindsHat@users.noreply.github.com> | 2024-11-06 08:24:23 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-11-06 08:24:23 (GMT) |
commit | 9b4df9e50837cc837e113053ba12ee6967d5e6c2 (patch) | |
tree | bf989e771579f835bcb49c074637a8e224bcecbc /gl/m4/time_r.m4 | |
parent | 94150ae347beb25ac369d5773834ceef7f3736d3 (diff) | |
parent | 5be04ec2ceb1df77afbca4fcbf9e92a712612d6f (diff) | |
download | monitoring-plugins-9b4df9e50837cc837e113053ba12ee6967d5e6c2.tar.gz |
Merge pull request #2037 from RincewindsHat/update/gnulib-1.0
Sync with the latest Gnulib code (d4ec02b3cc) (gnulib v1.0)
Diffstat (limited to 'gl/m4/time_r.m4')
-rw-r--r-- | gl/m4/time_r.m4 | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/gl/m4/time_r.m4 b/gl/m4/time_r.m4 index adce438..3675390 100644 --- a/gl/m4/time_r.m4 +++ b/gl/m4/time_r.m4 | |||
@@ -1,10 +1,12 @@ | |||
1 | dnl Reentrant time functions: localtime_r, gmtime_r. | 1 | # time_r.m4 |
2 | 2 | # serial 1 | |
3 | dnl Copyright (C) 2003, 2006-2023 Free Software Foundation, Inc. | 3 | dnl Copyright (C) 2003, 2006-2024 Free Software Foundation, Inc. |
4 | dnl This file is free software; the Free Software Foundation | 4 | dnl This file is free software; the Free Software Foundation |
5 | dnl gives unlimited permission to copy and/or distribute it, | 5 | dnl gives unlimited permission to copy and/or distribute it, |
6 | dnl with or without modifications, as long as this notice is preserved. | 6 | dnl with or without modifications, as long as this notice is preserved. |
7 | 7 | ||
8 | dnl Reentrant time functions: localtime_r, gmtime_r. | ||
9 | |||
8 | dnl Written by Paul Eggert. | 10 | dnl Written by Paul Eggert. |
9 | 11 | ||
10 | AC_DEFUN([gl_TIME_R], | 12 | AC_DEFUN([gl_TIME_R], |
@@ -57,9 +59,7 @@ AC_DEFUN([gl_TIME_R], | |||
57 | [gl_cv_time_r_posix=yes], | 59 | [gl_cv_time_r_posix=yes], |
58 | [gl_cv_time_r_posix=no]) | 60 | [gl_cv_time_r_posix=no]) |
59 | ]) | 61 | ]) |
60 | if test $gl_cv_time_r_posix = yes; then | 62 | if test $gl_cv_time_r_posix != yes; then |
61 | REPLACE_LOCALTIME_R=0 | ||
62 | else | ||
63 | REPLACE_LOCALTIME_R=1 | 63 | REPLACE_LOCALTIME_R=1 |
64 | fi | 64 | fi |
65 | else | 65 | else |