changeset 12145:9a08319141ac

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>
author Eric Blake <ebb9@byu.net>
date Fri, 09 Oct 2009 08:36:22 -0600
parents a2d7efbd7d96
children e076a06bae48
files ChangeLog modules/gethrxtime modules/gettime modules/settime modules/xnanosleep
diffstat 5 files changed, 18 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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.
--- a/modules/gethrxtime
+++ b/modules/gethrxtime
@@ -22,6 +22,9 @@
 Include:
 "xtime.h"
 
+Link:
+$(LIB_GETHRXTIME)
+
 License:
 GPL
 
--- a/modules/gettime
+++ b/modules/gettime
@@ -20,6 +20,9 @@
 Include:
 "timespec.h"
 
+Link:
+$(LIB_CLOCK_GETTIME)
+
 License:
 GPL
 
--- a/modules/settime
+++ b/modules/settime
@@ -20,6 +20,9 @@
 Include:
 "timespec.h"
 
+Link:
+$(LIB_CLOCK_GETTIME)
+
 License:
 GPL
 
--- a/modules/xnanosleep
+++ b/modules/xnanosleep
@@ -17,6 +17,9 @@
 
 Makefile.am:
 
+Link:
+$(LIB_NANOSLEEP)
+
 Include:
 "xnanosleep.h"