From 0dc2838be531653fc2212bf96722cc99dfb33c6e Mon Sep 17 00:00:00 2001 From: Eric Blake Date: Fri, 9 Oct 2009 08:36:22 -0600 Subject: [PATCH] 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 --- ChangeLog | 6 ++++++ modules/gethrxtime | 3 +++ modules/gettime | 3 +++ modules/settime | 3 +++ modules/xnanosleep | 3 +++ 5 files changed, 18 insertions(+) diff --git a/ChangeLog b/ChangeLog index 649dfb118..0c57ea154 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,11 @@ 2009-10-09 Eric Blake + 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 1a2ac8304..ab9507bce 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 1b31e3161..988d2933c 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 79a268b79..c2e1b3cd5 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 b8c758cc0..937bba048 100644 --- a/modules/xnanosleep +++ b/modules/xnanosleep @@ -17,6 +17,9 @@ gl_XNANOSLEEP Makefile.am: +Link: +$(LIB_NANOSLEEP) + Include: "xnanosleep.h" -- 2.11.0