Mercurial > hg > octave-shane > gnulib-hg
annotate modules/yesno @ 17582:630472a8cafd
gettimeofday: port recent C++ fix to Emacs
Without this further patch, Emacs won't build due to
the portcheck failing. Also, this simplifies the patch a bit.
* lib/time.in.h (localtime, gmtime): Don't replace unless
GNULIB_GETTIMEOFDAY. Treat them more like mktime.
* lib/time.in.h (localtime, gmtime):
* m4/gettimeofday.m4 (gl_GETTIMEOFDAY_REPLACE_LOCALTIME):
* m4/time_h.m4 (gl_HEADER_TIME_H_DEFAULTS):
* modules/time (time.h):
Don't worry about about the possibility of localtime and gmtime
being absent; they're present in all C libraries we know about.
* m4/time_h.m4 (gl_HEADER_TIME_H_DEFAULTS):
Don't assume sys_time is present and has been initialized.
Instead, use a hack that should work even if it hasn't been.
Don't use a portcheck for gmtime or localtime; this supports
the hack.
* modules/time (time.h): Substitute GNULIB_GETTIMEOFDAY.
author | Paul Eggert <eggert@cs.ucla.edu> |
---|---|
date | Tue, 17 Dec 2013 12:38:54 -0800 |
parents | 5e2f99e0a66f |
children |
rev | line source |
---|---|
4110 | 1 Description: |
4172 | 2 Read a response from the user, and its classification as matching "yes" or |
3 "no". | |
4110 | 4 |
5 Files: | |
6 lib/yesno.c | |
5149 | 7 lib/yesno.h |
4110 | 8 m4/yesno.m4 |
9 | |
10 Depends-on: | |
5851 | 11 getline |
4110 | 12 rpmatch |
5820
aec0a1f23054
(Depends-on): Add stdbool.
Paul Eggert <eggert@cs.ucla.edu>
parents:
5722
diff
changeset
|
13 stdbool |
4110 | 14 |
15 configure.ac: | |
16 gl_YESNO | |
17 | |
18 Makefile.am: | |
15262
5e2f99e0a66f
yesno: Move AC_LIBOBJ invocations to module description.
Bruno Haible <bruno@clisp.org>
parents:
7497
diff
changeset
|
19 lib_SOURCES += yesno.c |
4110 | 20 |
21 Include: | |
5151
95082b150149
Add "yesno.h" as an include.
Paul Eggert <eggert@cs.ucla.edu>
parents:
5149
diff
changeset
|
22 "yesno.h" |
4110 | 23 |
5251
42b53a22aee5
Add a license tag to every module.
Bruno Haible <bruno@clisp.org>
parents:
5151
diff
changeset
|
24 License: |
42b53a22aee5
Add a license tag to every module.
Bruno Haible <bruno@clisp.org>
parents:
5151
diff
changeset
|
25 GPL |
42b53a22aee5
Add a license tag to every module.
Bruno Haible <bruno@clisp.org>
parents:
5151
diff
changeset
|
26 |
4197 | 27 Maintainer: |
28 Jim Meyering |