Mercurial > hg > octave-shane > gnulib-hg
annotate modules/timegm @ 15187:8f6c698d0789
crc: Move AC_LIBOBJ invocations to module description.
* m4/crc.m4: Remove file.
* modules/crc (Files): Remove it.
(configure.ac): Remove gl_CRC call.
(Makefile.am): Augment lib_SOURCES.
author | Bruno Haible <bruno@clisp.org> |
---|---|
date | Mon, 23 May 2011 22:51:09 +0200 |
parents | 901e19816fac |
children |
rev | line source |
---|---|
4616 | 1 Description: |
2 Convert calendar time to simple time, inverse of mktime. | |
3 | |
4 Files: | |
12228
465038ef6bc4
mktime, timegm: share common declaration
Eric Blake <ebb9@byu.net>
parents:
9102
diff
changeset
|
5 lib/mktime-internal.h |
4616 | 6 lib/timegm.c |
7 m4/timegm.m4 | |
8 | |
9 Depends-on: | |
8146
b31580167c2b
New module 'time', so that apps can include <time.h> as per
Paul Eggert <eggert@cs.ucla.edu>
parents:
7497
diff
changeset
|
10 time |
14796
5fcbe73883bf
New module 'mktime-internal'.
Bruno Haible <bruno@clisp.org>
parents:
12948
diff
changeset
|
11 mktime-internal [test $HAVE_TIMEGM = 0 || test $REPLACE_TIMEGM = 1] |
5fcbe73883bf
New module 'mktime-internal'.
Bruno Haible <bruno@clisp.org>
parents:
12948
diff
changeset
|
12 time_r [test $HAVE_TIMEGM = 0 || test $REPLACE_TIMEGM = 1] |
4616 | 13 |
14 configure.ac: | |
15 gl_FUNC_TIMEGM | |
15125
901e19816fac
timegm: Move AC_LIBOBJ invocations to module description.
Bruno Haible <bruno@clisp.org>
parents:
14796
diff
changeset
|
16 if test $HAVE_TIMEGM = 0 || test $REPLACE_TIMEGM = 1; then |
901e19816fac
timegm: Move AC_LIBOBJ invocations to module description.
Bruno Haible <bruno@clisp.org>
parents:
14796
diff
changeset
|
17 AC_LIBOBJ([timegm]) |
901e19816fac
timegm: Move AC_LIBOBJ invocations to module description.
Bruno Haible <bruno@clisp.org>
parents:
14796
diff
changeset
|
18 gl_PREREQ_TIMEGM |
901e19816fac
timegm: Move AC_LIBOBJ invocations to module description.
Bruno Haible <bruno@clisp.org>
parents:
14796
diff
changeset
|
19 fi |
12948
ea38eeab7d0f
time: Avoid #define replacements in C++ mode.
Bruno Haible <bruno@clisp.org>
parents:
12228
diff
changeset
|
20 gl_TIME_MODULE_INDICATOR([timegm]) |
4616 | 21 |
22 Makefile.am: | |
23 | |
24 Include: | |
8146
b31580167c2b
New module 'time', so that apps can include <time.h> as per
Paul Eggert <eggert@cs.ucla.edu>
parents:
7497
diff
changeset
|
25 <time.h> |
4616 | 26 |
5251
42b53a22aee5
Add a license tag to every module.
Bruno Haible <bruno@clisp.org>
parents:
4621
diff
changeset
|
27 License: |
9102
404dc8725caf
Use the synonymous term LGPLv2.
Bruno Haible <bruno@clisp.org>
parents:
8146
diff
changeset
|
28 LGPLv2+ |
5251
42b53a22aee5
Add a license tag to every module.
Bruno Haible <bruno@clisp.org>
parents:
4621
diff
changeset
|
29 |
4616 | 30 Maintainer: |
4621
3d28ad4e18e2
Add time_r module. Change timegm, mktime, and strftime to use localtime_r
Paul Eggert <eggert@cs.ucla.edu>
parents:
4616
diff
changeset
|
31 all, glibc |