-2005-07-12 Jim Meyering <jim@meyering.net>
+2005-07-13 Paul Eggert <eggert@cs.ucla.edu>
* Version 5.3.1.
+ * src/Makefile.am (nanosec_libs): Remove $(FESETROUND_LIBM); no longer
+ needed. Problem reported by Jeff Bailey.
+
+2005-07-12 Jim Meyering <jim@meyering.net>
+
* Makefile.maint (copyright-check): Reflect rearrangement in
version-etc files.
+2005-07-13 Paul Eggert <eggert@cs.ucla.edu>
+
+ * lib-check.m4 (cu_LIB_CHECK): Remove no-longer-necessary check
+ for fesetround.
+
2005-07-08 Paul Eggert <eggert@cs.ucla.edu>
* jm-macros.m4 (gl_CHECK_ALL_HEADERS): Check for stropts.h.
-#serial 8
+#serial 9
dnl Misc lib-related macros for coreutils.
# 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])
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])
# If necessary, add -lm to resolve use of floor, rint, modf.
seq_LDADD = $(LDADD) $(SEQ_LIBM)
-# If necessary, add -lm to resolve the `pow' reference in lib/strtod.c
-# or for the fesetround reference in programs using nanosec.c.
-nanosec_libs = \
- $(LDADD) $(FESETROUND_LIBM) $(POW_LIB) $(LIB_NANOSLEEP)
+# If necessary, add libraries to resolve the `pow' reference in lib/strtod.c
+# and the `nanosleep' reference in lib/xnanosleep.c.
+nanosec_libs = $(LDADD) $(POW_LIB) $(LIB_NANOSLEEP)
sleep_LDADD = $(nanosec_libs)
tail_LDADD = $(nanosec_libs)