]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
(nanosec_libs): Define.
authorJim Meyering <jim@meyering.net>
Thu, 12 Sep 2002 13:16:20 +0000 (13:16 +0000)
committerJim Meyering <jim@meyering.net>
Thu, 12 Sep 2002 13:16:20 +0000 (13:16 +0000)
(sleep_LDADD, tail_LDADD): Use it here.

src/Makefile.am

index 859b3d44117a9c5b0ad16b995be1250a7e7fdf30..b8d885748782035a77deb7e95c54852a55e8701e 100644 (file)
@@ -57,9 +57,12 @@ printf_LDADD = $(LDADD) @POW_LIB@ @LIBICONV@
 seq_LDADD = $(LDADD) @SEQ_LIBM@
 
 # If necessary, add -lm to resolve the `pow' reference in lib/strtod.c
-# or for the fesetround reference in sleep.c.
-sleep_LDADD = $(LDADD) @FESETROUND_LIBM@ @POW_LIB@ \
-  @LIB_CLOCK_GETTIME@ @LIB_NANOSLEEP@
+# or for the fesetround reference in programs using nanosec.c.
+nanosec_libs = \
+  $(LDADD) @FESETROUND_LIBM@ @POW_LIB@ @LIB_CLOCK_GETTIME@ @LIB_NANOSLEEP@
+
+sleep_LDADD = $(nanosec_libs)
+tail_LDADD = $(nanosec_libs)
 
 uptime_LDADD = $(LDADD) @GETLOADAVG_LIBS@