1
0
mirror of git://git.sv.gnu.org/coreutils.git synced 2026-04-17 00:56:34 +02:00

Fix clock_gettime library access problem on recent GNU/Linux systems.

This commit is contained in:
Paul Eggert
2005-02-22 07:19:43 +00:00
parent df066e2695
commit ff35a3ca2b
3 changed files with 22 additions and 1 deletions

View File

@@ -1,7 +1,13 @@
2005-02-20 Paul Eggert <eggert@cs.ucla.edu>
2005-02-21 Paul Eggert <eggert@cs.ucla.edu>
* 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 <eggert@cs.ucla.edu>
* NEWS: Describe user-visible change to dd.
* src/Makefile.am (dd_LDADD, shred_LDADD, nanosec_libs):
Remove $(LIB_CLOCK_GETTIME). These functions now use

View File

@@ -1,3 +1,8 @@
2005-02-21 Paul Eggert <eggert@cs.ucla.edu>
* Makefile.am (libfetish_a_SOURCES): Remove xnanosleep.c,
xnanosleep.h; now done by ../m4/xnanosleep.m4 automatically.
2005-02-20 Paul Eggert <eggert@cs.ucla.edu>
* gethrxtime.h, gethrxtime.c, xtime.h: New files.

View File

@@ -1,3 +1,13 @@
2005-02-21 Paul Eggert <eggert@cs.ucla.edu>
* 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 <eggert@cs.ucla.edu>
* gethrxtime.m4: New file.