]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Bug 2885: AIX support: check libm for log()
authorAmos Jeffries <amosjeffries@squid-cache.org>
Wed, 21 Jul 2010 07:22:02 +0000 (01:22 -0600)
committerAmos Jeffries <amosjeffries@squid-cache.org>
Wed, 21 Jul 2010 07:22:02 +0000 (01:22 -0600)
configure.in

index e0ed682658e53abc3159add8a3e3db1852c44a60..e5ee37ef31a75b36d2899df92e918ecdae063e5b 100644 (file)
@@ -2647,9 +2647,10 @@ mingw|mingw32)
        AC_MSG_NOTICE([Use MSVCRT for math functions.])
        ;;
        *)
-       dnl rint() is only used in old C code for now.
+       dnl rint() and log() are only used in old C code for now.
        AC_LANG_PUSH([C])
        AC_SEARCH_LIBS([rint],[m])
+       AC_SEARCH_LIBS([log],[m])
        AC_LANG_POP([C])
        ;;
 esac