aboutsummaryrefslogtreecommitdiff
path: root/acinclude.m4
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2010-01-24 14:34:47 -0500
committerNick Mathewson <nickm@torproject.org>2010-01-24 14:34:47 -0500
commitb6038f4ac646b52f0819724b344adcf04bc2a440 (patch)
tree677f03b639a8ea591f0ee56cacceb2c1354409a4 /acinclude.m4
parentca60a6ce3f4786626ac455ec1b798b2e8304635c (diff)
downloadtor-b6038f4ac646b52f0819724b344adcf04bc2a440.tar
tor-b6038f4ac646b52f0819724b344adcf04bc2a440.tar.gz
Add --enable-static-(openssl|libevent) options
These options only work when using --with-(openssl|libevent)-dir to explicitly pick a libevent or openssl location.
Diffstat (limited to 'acinclude.m4')
-rw-r--r--acinclude.m42
1 files changed, 2 insertions, 0 deletions
diff --git a/acinclude.m4 b/acinclude.m4
index 47d421c26..76e992572 100644
--- a/acinclude.m4
+++ b/acinclude.m4
@@ -27,8 +27,10 @@ AC_DEFUN([TOR_DEFINE_CODEPATH],
else
if test -d "$1/lib"; then
TOR_LDFLAGS_$2="-L$1/lib"
+ TOR_LIBDIR_$2="$1/lib"
else
TOR_LDFLAGS_$2="-L$1"
+ TOR_LIBDIR_$2="$1"
fi
if test -d "$1/include"; then
TOR_CPPFLAGS_$2="-I$1/include"