summaryrefslogtreecommitdiff
path: root/configure.in
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2011-12-19 11:26:50 -0500
committerNick Mathewson <nickm@torproject.org>2011-12-19 11:27:08 -0500
commite535c8a460fb3c1973ec46fe0910bbd21148b475 (patch)
treeca237c564d259a50d4164eb59dc373811b106c20 /configure.in
parentd5e964731c009589952be246d80d4114f65d5ee2 (diff)
downloadtor-e535c8a460fb3c1973ec46fe0910bbd21148b475.tar.gz
tor-e535c8a460fb3c1973ec46fe0910bbd21148b475.zip
Tweak the haiku-support patches
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in6
1 files changed, 3 insertions, 3 deletions
diff --git a/configure.in b/configure.in
index d1b7c4441c..1f045f1349 100644
--- a/configure.in
+++ b/configure.in
@@ -489,9 +489,9 @@ dnl On some platforms (Haiku/BeOS) the math library is
dnl part of libroot. In which case don't link against lm
TOR_LIB_MATH=""
save_LIBS="$LIBS"
-AC_SEARCH_LIBS(cos, [m], , AC_MSG_ERROR([Could not find libm and libcore does not provide the functions.]))
-if test "$ac_cv_search_cos" != "none required"; then
- TOR_LIB_MATH="$ac_cv_search_cos"
+AC_SEARCH_LIBS(pow, [m], , AC_MSG_ERROR([Could not find pow in libm or libc.]))
+if test "$ac_cv_search_pow" != "none required"; then
+ TOR_LIB_MATH="$ac_cv_search_pow"
fi
LIBS="$save_LIBS"
AC_SUBST(TOR_LIB_MATH)