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
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
4110
632b6cf5063f Module description.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
1 Description:
4172
5321105558d8 Add module descriptions.
Bruno Haible <bruno@clisp.org>
parents: 4110
diff changeset
2 Read a response from the user, and its classification as matching "yes" or
5321105558d8 Add module descriptions.
Bruno Haible <bruno@clisp.org>
parents: 4110
diff changeset
3 "no".
4110
632b6cf5063f Module description.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
4
632b6cf5063f Module description.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
5 Files:
632b6cf5063f Module description.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
6 lib/yesno.c
5149
3f479e57aac3 Merge from coreutils.
Paul Eggert <eggert@cs.ucla.edu>
parents: 4197
diff changeset
7 lib/yesno.h
4110
632b6cf5063f Module description.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
8 m4/yesno.m4
632b6cf5063f Module description.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
9
632b6cf5063f Module description.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
10 Depends-on:
5851
d39411e1c5e6 Sync from coreutils.
Paul Eggert <eggert@cs.ucla.edu>
parents: 5820
diff changeset
11 getline
4110
632b6cf5063f Module description.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
12 rpmatch
5820
aec0a1f23054 (Depends-on): Add stdbool.
Paul Eggert <eggert@cs.ucla.edu>
parents: 5722
diff changeset
13 stdbool
4110
632b6cf5063f Module description.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
14
632b6cf5063f Module description.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
15 configure.ac:
632b6cf5063f Module description.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
16 gl_YESNO
632b6cf5063f Module description.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
17
632b6cf5063f Module description.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
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
632b6cf5063f Module description.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
20
632b6cf5063f Module description.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
21 Include:
5151
95082b150149 Add "yesno.h" as an include.
Paul Eggert <eggert@cs.ucla.edu>
parents: 5149
diff changeset
22 "yesno.h"
4110
632b6cf5063f Module description.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
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
3ccc6d0d52bb Add a Maintainer.
Bruno Haible <bruno@clisp.org>
parents: 4172
diff changeset
27 Maintainer:
3ccc6d0d52bb Add a Maintainer.
Bruno Haible <bruno@clisp.org>
parents: 4172
diff changeset
28 Jim Meyering