summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2006-02-03 19:34:09 +0000
committerNick Mathewson <nickm@torproject.org>2006-02-03 19:34:09 +0000
commita69b96af024e9608b0c903d08664ee565cf557d5 (patch)
treebf91dcd4914b668c17cc4cfff8699392e490dd44
parent390bbb0a0c0d2d9db01689f7ef338d5946c15ab0 (diff)
downloadtor-a69b96af024e9608b0c903d08664ee565cf557d5.tar.gz
tor-a69b96af024e9608b0c903d08664ee565cf557d5.zip
Be sure to restore LDFLAGS from LDFLAGS, not from LIBS.
svn:r5902
-rw-r--r--configure.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/configure.in b/configure.in
index e85425c060..d9a70147fb 100644
--- a/configure.in
+++ b/configure.in
@@ -139,7 +139,7 @@ AC_CACHE_CHECK([for libevent directory], ac_cv_libevent_dir, [
fi
done
LIBS="$saved_LIBS"
- LDFLAGS="$saved_LIBS"
+ LDFLAGS="$saved_LDFLAGS"
if test $le_found = no ; then
AC_MSG_ERROR([Could not find a linkable libevent. You can specify an explicit path using --with-libevent-dir])
fi
@@ -229,7 +229,7 @@ AC_CACHE_CHECK([for OpenSSL directory], ac_cv_openssl_dir, [
fi
done
LIBS="$saved_LIBS"
- LDFLAGS="$saved_LIBS"
+ LDFLAGS="$saved_LDFLAGS"
if test $ssl_found = no ; then
AC_MSG_ERROR([Could not find a linkable OpenSSL. You can specify an explicit path using --with-ssl-dir])
fi