summaryrefslogtreecommitdiff
path: root/configure.in
diff options
context:
space:
mode:
authorDavid J. MacKenzie <djm@gnu.org>1995-05-09 18:10:01 +0000
committerDavid J. MacKenzie <djm@gnu.org>1995-05-09 18:10:01 +0000
commit67f9fda46840421b8dda870d80665d5faa1403c8 (patch)
treee0e787cb6a60ed58cade61ccd03ee106e8584e02 /configure.in
parent1f7d55d5740f98a8b97e5c08ebebadbbc0599e5c (diff)
downloademacs-67f9fda46840421b8dda870d80665d5faa1403c8.tar.gz
Use sqrt (more portable) instead of fmod in -lm check.
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in6
1 files changed, 2 insertions, 4 deletions
diff --git a/configure.in b/configure.in
index 2f9879f5456..bdad8607d93 100644
--- a/configure.in
+++ b/configure.in
@@ -1157,10 +1157,8 @@ AC_TRY_LINK([#include <netdb.h>],
AC_FUNC_ALLOCA
# fmod, logb, and frexp are found in -lm on most systems.
-# On HPUX 9.01, -lm does not contain logb, so check for fmod.
-# If some other system has -lm with logb and/or frexp but not fmod,
-# we will have to try yet again...
-AC_CHECK_LIB(m, fmod)
+# On HPUX 9.01, -lm does not contain logb, so check for sqrt.
+AC_CHECK_LIB(m, sqrt)
AC_CHECK_FUNCS(gettimeofday gethostname dup2 rename closedir mkdir rmdir \
random lrand48 bcopy bcmp logb frexp fmod drem ftime res_init setsid \
strerror fpathconf select mktime eaccess getpagesize)