Import the gethrxtime module from gnulib.

gnulib 9e117ae955a5c6a0406140e62b76c3ef50e3bc2b.

* lib/gethrxtime.c, lib/gethrxtime.h, lib/gettime.c, lib/timespec.c,
lib/timespec.h, lib/xtime.h, m4/clock_time.m4, m4/gethrxtime.m4,
m4/gettime.m4, m4/timespec.m4: New files.
* m4/gnulib-cache.m4, m4/gnulib-comp.m4, lib/Makefile.am: Adjust.
This commit is contained in:
Alexandre Duret-Lutz 2012-10-08 21:59:59 +02:00
parent d7e8684d38
commit 756319739b
13 changed files with 510 additions and 2 deletions

View file

@ -21,7 +21,7 @@
# the same distribution terms as the rest of that program.
#
# Generated by gnulib-tool.
# Reproduce by: gnulib-tool --import --dir=. --lib=libgnu --source-base=lib --m4-base=m4 --doc-base=doc --tests-base=tests --aux-dir=tools --no-conditional-dependencies --no-libtool --macro-prefix=gl --no-vc-files --no-libtool --no-vc-files argp error mkstemp progname
# Reproduce by: gnulib-tool --import --dir=. --lib=libgnu --source-base=lib --m4-base=m4 --doc-base=doc --tests-base=tests --aux-dir=tools --no-conditional-dependencies --no-libtool --macro-prefix=gl --no-vc-files --no-libtool --no-vc-files argp error gethrxtime mkstemp progname
AUTOMAKE_OPTIONS = 1.5 gnits
@ -215,6 +215,15 @@ EXTRA_libgnu_a_SOURCES += float.c itold.c
## end gnulib module float
## begin gnulib module gethrxtime
EXTRA_DIST += gethrxtime.c gethrxtime.h xtime.h
EXTRA_libgnu_a_SOURCES += gethrxtime.c
## end gnulib module gethrxtime
## begin gnulib module getopt-posix
BUILT_SOURCES += $(GETOPT_H)
@ -248,6 +257,12 @@ libgnu_a_SOURCES += gettext.h
## end gnulib module gettext-h
## begin gnulib module gettime
libgnu_a_SOURCES += gettime.c
## end gnulib module gettime
## begin gnulib module gettimeofday
@ -1202,6 +1217,14 @@ EXTRA_DIST += time.in.h
## end gnulib module time
## begin gnulib module timespec
libgnu_a_SOURCES += timespec.c
EXTRA_DIST += timespec.h
## end gnulib module timespec
## begin gnulib module unistd
BUILT_SOURCES += unistd.h