From: Paul Eggert Date: Tue, 22 Feb 2005 07:19:43 +0000 (+0000) Subject: Fix clock_gettime library access problem on recent GNU/Linux systems. X-Git-Tag: CPPI-1_12~1422 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=ff35a3ca2b9bc98533a846ba35fa95ec5bab7b51;p=thirdparty%2Fcoreutils.git Fix clock_gettime library access problem on recent GNU/Linux systems. --- diff --git a/ChangeLog b/ChangeLog index ea85b978d5..2964647b23 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 5fa2f782ec..60f76b2b67 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 0e3804ce69..ca3ac1b31d 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.