changeset 4536:24b5dca58fbe

Check for -lm. Then can check for frexp and logb.
author Roland McGrath <roland@gnu.org>
date Tue, 10 Aug 1993 18:16:48 +0000
parents cf77def3abe2
children 14f38c0332a4
files configure1.in
diffstat 1 files changed, 4 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/configure1.in	Tue Aug 10 17:57:31 1993 +0000
+++ b/configure1.in	Tue Aug 10 18:16:48 1993 +0000
@@ -1176,7 +1176,10 @@
 fi
 
 AC_ALLOCA
-AC_HAVE_FUNCS(gettimeofday gethostname dup2 rename closedir mkdir rmdir random bcopy)
+
+# logb and frexp are found in -lm on most systems.
+AC_HAVE_LIBRARY(-lm)
+AC_HAVE_FUNCS(gettimeofday gethostname dup2 rename closedir mkdir rmdir random bcopy logb frexp)
 
 ok_so_far=true
 AC_FUNC_CHECK(socket, , ok_so_far=)