# HG changeset patch # User David J. MacKenzie # Date 800043001 0 # Node ID 12053498f19bb7bdf0fe3377d7c238e17ba6f5bc # Parent 18d3fd9e72f0f9459be7ad7542f99cabcaecd3bb Use sqrt (more portable) instead of fmod in -lm check. diff -r 18d3fd9e72f0 -r 12053498f19b configure.in --- a/configure.in Tue May 09 17:44:05 1995 +0000 +++ b/configure.in Tue May 09 18:10:01 1995 +0000 @@ -1157,10 +1157,8 @@ 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)