summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Blake <ebb9@byu.net>2009-10-09 08:36:22 -0600
committerEric Blake <ebb9@byu.net>2009-10-09 19:07:56 -0600
commit0dc2838be531653fc2212bf96722cc99dfb33c6e (patch)
tree6d4153c4ef0094ccd18391232b3bd014c230190a
parent4e42b89b090f61e189e7161a3f096cabc832b6d3 (diff)
downloadgnulib-0dc2838be531653fc2212bf96722cc99dfb33c6e.tar.gz
maint: make realtime library usage explicit
Adding a Link section makes it easier to notice when it a module may require edits to a user's Makefile.am. * modules/gethrxtime (Link): Mention LIB_GETHRXTIME. * modules/gettime (Link): Mention LIB_CLOCK_GETTIME. * modules/settime (Link): Likewise. * modules/xnanosleep (Link): Mention LIB_NANOSLEEP. Signed-off-by: Eric Blake <ebb9@byu.net>
-rw-r--r--ChangeLog6
-rw-r--r--modules/gethrxtime3
-rw-r--r--modules/gettime3
-rw-r--r--modules/settime3
-rw-r--r--modules/xnanosleep3
5 files changed, 18 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 649dfb1186..0c57ea1548 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,11 @@
2009-10-09 Eric Blake <ebb9@byu.net>
+ maint: make realtime library usage explicit
+ * modules/gethrxtime (Link): Mention LIB_GETHRXTIME.
+ * modules/gettime (Link): Mention LIB_CLOCK_GETTIME.
+ * modules/settime (Link): Likewise.
+ * modules/xnanosleep (Link): Mention LIB_NANOSLEEP.
+
test-stat-time: speed up execution
* tests/test-stat-time.c (test_ctime) [!W32]: Avoid compiler
warning on mingw.
diff --git a/modules/gethrxtime b/modules/gethrxtime
index 1a2ac83043..ab9507bcec 100644
--- a/modules/gethrxtime
+++ b/modules/gethrxtime
@@ -22,6 +22,9 @@ Makefile.am:
Include:
"xtime.h"
+Link:
+$(LIB_GETHRXTIME)
+
License:
GPL
diff --git a/modules/gettime b/modules/gettime
index 1b31e3161e..988d2933c6 100644
--- a/modules/gettime
+++ b/modules/gettime
@@ -20,6 +20,9 @@ Makefile.am:
Include:
"timespec.h"
+Link:
+$(LIB_CLOCK_GETTIME)
+
License:
GPL
diff --git a/modules/settime b/modules/settime
index 79a268b790..c2e1b3cd59 100644
--- a/modules/settime
+++ b/modules/settime
@@ -20,6 +20,9 @@ Makefile.am:
Include:
"timespec.h"
+Link:
+$(LIB_CLOCK_GETTIME)
+
License:
GPL
diff --git a/modules/xnanosleep b/modules/xnanosleep
index b8c758cc02..937bba048f 100644
--- a/modules/xnanosleep
+++ b/modules/xnanosleep
@@ -17,6 +17,9 @@ gl_XNANOSLEEP
Makefile.am:
+Link:
+$(LIB_NANOSLEEP)
+
Include:
"xnanosleep.h"