]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Bug 2885: AIX support: check libm for log()
authorAmos Jeffries <amosjeffries@squid-cache.org>
Thu, 15 Jul 2010 00:52:47 +0000 (18:52 -0600)
committerAmos Jeffries <amosjeffries@squid-cache.org>
Thu, 15 Jul 2010 00:52:47 +0000 (18:52 -0600)
configure.in

index e06b7eb5a5deb5a4cb51dd280e8ee00589347143..f6a83e410d22de62e687f7e308d41e13ea000610 100644 (file)
@@ -2645,9 +2645,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