summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2005-02-22 07:19:43 +0000
committerPaul Eggert <eggert@cs.ucla.edu>2005-02-22 07:19:43 +0000
commitff35a3ca2b9bc98533a846ba35fa95ec5bab7b51 (patch)
tree158b6b099678a593dd9e04a31cb7a72ba9279ad5
parentdf066e26953a73d5156f49f4ebce9dfc14a06e4e (diff)
downloadcoreutils-ff35a3ca2b9bc98533a846ba35fa95ec5bab7b51.tar.xz
Fix clock_gettime library access problem on recent GNU/Linux systems.
-rw-r--r--ChangeLog8
-rw-r--r--lib/ChangeLog5
-rw-r--r--m4/ChangeLog10
3 files changed, 22 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index ea85b978d..2964647b2 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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
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 <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.
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 <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.