bug-coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: fesetround, -lm and a non-existant nanosec.c


From: Paul Eggert
Subject: Re: fesetround, -lm and a non-existant nanosec.c
Date: Wed, 13 Jul 2005 17:04:07 -0700
User-agent: Gnus/5.1007 (Gnus v5.10.7) Emacs/21.4 (gnu/linux)

Jeff Bailey <address@hidden> writes:

> But the ChangeLog doesn't mention any reference to nanosec.c, nor is
> there any reference to fesetround in coreutils, so I'm guessing it's
> pre-merger cruft.  This removes a spurious link to -lm on tail and
> sleep.

Thanks.  I installed, that, along with this further patch.

2005-07-13  Paul Eggert  <address@hidden>

        * lib-check.m4 (cu_LIB_CHECK): Remove no-longer-necessary check
        for fesetround.

--- m4/lib-check.m4     18 May 2005 19:31:20 -0000      1.12
+++ m4/lib-check.m4     14 Jul 2005 00:02:09 -0000
@@ -1,4 +1,4 @@
-#serial 8
+#serial 9
 
 dnl Misc lib-related macros for coreutils.
 
@@ -32,7 +32,7 @@ AC_DEFUN([cu_LIB_CHECK],
 
   # Some programs need to link with -lm.  printf does if it uses
   # lib/strtod.c which uses pow.  And seq uses the math functions,
-  # floor, modf, rint.  And sleep uses fesetround.
+  # floor, modf, rint.
 
   # Check for these math functions used by seq.
   AC_SUBST([SEQ_LIBM])
@@ -44,13 +44,6 @@ AC_DEFUN([cu_LIB_CHECK],
   test "X$LIBS" = "X$cu_saved_libs" || SEQ_LIBM=-lm
   LIBS=$cu_saved_libs
 
-  AC_SUBST(FESETROUND_LIBM)
-  cu_saved_libs=$LIBS
-  AC_SEARCH_LIBS([fesetround], [m])
-  AC_CHECK_FUNCS([fesetround])
-  test "X$LIBS" = "X$cu_saved_libs" || FESETROUND_LIBM=-lm
-  LIBS=$cu_saved_libs
-
   # The -lsun library is required for YP support on Irix-4.0.5 systems.
   # m88k/svr3 DolphinOS systems using YP need -lypsec for id.
   AC_SEARCH_LIBS(yp_match, [sun ypsec])




reply via email to

[Prev in Thread] Current Thread [Next in Thread]