Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
The Tor Project
Core
Tor
Commits
e535c8a4
Commit
e535c8a4
authored
Dec 19, 2011
by
Nick Mathewson
👁
Browse files
Tweak the haiku-support patches
parent
d5e96473
Changes
2
Hide whitespace changes
Inline
Side-by-side
configure.in
View file @
e535c8a4
...
...
@@ -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)
...
...
src/test/Makefile.am
View file @
e535c8a4
...
...
@@ -31,7 +31,7 @@ test_LDFLAGS = @TOR_LDFLAGS_zlib@ @TOR_LDFLAGS_openssl@ \
@TOR_LDFLAGS_libevent@
test_LDADD
=
../or/libtor.a ../common/libor.a ../common/libor-crypto.a
\
../common/libor-event.a
\
@TOR_ZLIB_LIBS@ @TOR_LIB_MATH@ @TOR_LIBEVENT_LIBS@
\
@TOR_ZLIB_LIBS@ @TOR_LIB_MATH@ @TOR_LIBEVENT_LIBS@
\
@TOR_OPENSSL_LIBS@ @TOR_LIB_WS32@ @TOR_LIB_GDI@
bench_LDFLAGS
=
@TOR_LDFLAGS_zlib@ @TOR_LDFLAGS_openssl@
\
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment