From ff35a3ca2b9bc98533a846ba35fa95ec5bab7b51 Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Tue, 22 Feb 2005 07:19:43 +0000 Subject: [PATCH] Fix clock_gettime library access problem on recent GNU/Linux systems. --- ChangeLog | 8 +++++++- lib/ChangeLog | 5 +++++ m4/ChangeLog | 10 ++++++++++ 3 files changed, 22 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index ea85b978d..2964647b2 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,7 +1,13 @@ -2005-02-20 Paul Eggert +2005-02-21 Paul Eggert * Version 5.3.1. + * src/Makefile.am (dd_LDADD, shred_LDADD): Add $(LIB_GETHRXTIME). + (nanosec_libs): Add $(LIB_XNANOSLEEP). Needed for newer GNU/Linux + hosts with clock_gettime. + +2005-02-20 Paul Eggert + * NEWS: Describe user-visible change to dd. * src/Makefile.am (dd_LDADD, shred_LDADD, nanosec_libs): Remove $(LIB_CLOCK_GETTIME). These functions now use diff --git a/lib/ChangeLog b/lib/ChangeLog index 5fa2f782e..60f76b2b6 100644 --- a/lib/ChangeLog +++ b/lib/ChangeLog @@ -1,3 +1,8 @@ +2005-02-21 Paul Eggert + + * Makefile.am (libfetish_a_SOURCES): Remove xnanosleep.c, + xnanosleep.h; now done by ../m4/xnanosleep.m4 automatically. + 2005-02-20 Paul Eggert * gethrxtime.h, gethrxtime.c, xtime.h: New files. diff --git a/m4/ChangeLog b/m4/ChangeLog index 0e3804ce6..ca3ac1b31 100644 --- a/m4/ChangeLog +++ b/m4/ChangeLog @@ -1,3 +1,13 @@ +2005-02-21 Paul Eggert + + * xnanosleep.m4: New file. + * gethrxtime.m4 (gl_PREREQ_GETHRXTIME): Require gl_CLOCK_TIME, + gl_USE_SYSTEM_EXTENSIONS. Check whether CLOCK_MONOTONIC is + defined, and set LIB_GETHRXTIME accordingly. This is needed + for newer GNU/Linux systems that have clock_gettime, so that they + link in the appropriate library for it when needed. + * prereq.m4 (gl_PREREQ): Require gl_XNANOSLEEP. + 2005-02-20 Paul Eggert * gethrxtime.m4: New file. -- 2.34.1