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

11
m4/timespec.m4 Normal file
View file

@ -0,0 +1,11 @@
#serial 15
# Copyright (C) 2000-2001, 2003-2007, 2009-2012 Free Software Foundation, Inc.
# This file is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
# with or without modifications, as long as this notice is preserved.
dnl From Jim Meyering
AC_DEFUN([gl_TIMESPEC], [:])