mirror of
https://github.com/coreutils/coreutils.git
synced 2024-11-24 02:17:22 +08:00
Remove FESETROUND_LIBM; no longer needed.
This commit is contained in:
parent
765f89353e
commit
9cfc51e083
@ -1,7 +1,12 @@
|
||||
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.
|
||||
|
||||
|
@ -1,3 +1,8 @@
|
||||
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.
|
||||
|
@ -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])
|
||||
|
@ -81,10 +81,9 @@ printf_LDADD = $(LDADD) $(POW_LIB) $(LIBICONV)
|
||||
# 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)
|
||||
|
Loading…
Reference in New Issue
Block a user