diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2006-07-01 00:08:31 +0000 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2006-07-01 00:08:31 +0000 |
commit | 6b2cf24aac75e0f7a3f29460f9875dda58845682 (patch) | |
tree | 03e5030a00593ab39448e80fb075d61ac52c7b7c | |
parent | 0f39955197b22eb2a36be34b3387272699244e07 (diff) | |
download | coreutils-6b2cf24aac75e0f7a3f29460f9875dda58845682.tar.xz |
(cu_LIB_CHECK): Remuve SEQ_LIBM, since seq no longer
needs -lm directly.
-rw-r--r-- | m4/lib-check.m4 | 18 |
1 files changed, 2 insertions, 16 deletions
diff --git a/m4/lib-check.m4 b/m4/lib-check.m4 index 3962d14be..212376773 100644 --- a/m4/lib-check.m4 +++ b/m4/lib-check.m4 @@ -1,9 +1,9 @@ -#serial 9 +#serial 10 dnl Misc lib-related macros for coreutils. # Copyright (C) 1993, 1994, 1995, 1996, 1997, 2000, 2001, 2003, 2004, -# 2005 Free Software Foundation, Inc. +# 2005, 2006 Free Software Foundation, Inc. # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -30,20 +30,6 @@ AC_DEFUN([cu_LIB_CHECK], # m88k running dgux 5.4 needs this AC_CHECK_LIB(ldgc, main) - # 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. - - # Check for these math functions used by seq. - AC_SUBST([SEQ_LIBM]) - cu_saved_libs=$LIBS - AC_SEARCH_LIBS([floor], [m]) - AC_SEARCH_LIBS([modf], [m]) - AC_SEARCH_LIBS([rint], [m]) - AC_CHECK_FUNCS([floor modf rint]) - test "X$LIBS" = "X$cu_saved_libs" || SEQ_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]) |