aboutsummaryrefslogtreecommitdiff
path: root/configure.in
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2011-09-07 12:11:35 -0400
committerNick Mathewson <nickm@torproject.org>2011-09-07 12:11:35 -0400
commitb70a0a43750f6aabe800a83bcd7fdd6a5a14911b (patch)
treea44e7f45860d1bcbc0b9e5de6a2eab7ed670c4b2 /configure.in
parent947012e153e76ceb8015ea426a895f21b63cd677 (diff)
parent5f9cdee8afd3fb0db835c19993fae476e0f00033 (diff)
downloadtor-b70a0a43750f6aabe800a83bcd7fdd6a5a14911b.tar
tor-b70a0a43750f6aabe800a83bcd7fdd6a5a14911b.tar.gz
Merge remote-tracking branch 'origin/maint-0.2.2'
Conflicts: configure.in Conflict was between two pieces of configure.in logic added to the same place. Trivial.
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in6
1 files changed, 6 insertions, 0 deletions
diff --git a/configure.in b/configure.in
index f3640cb72..824547c6d 100644
--- a/configure.in
+++ b/configure.in
@@ -148,6 +148,12 @@ fi
AC_ARG_ENABLE(bufferevents,
AS_HELP_STRING(--enable-bufferevents, use Libevent's buffered IO.))
+dnl check for the correct "ar" when cross-compiling
+AN_MAKEVAR([AR], [AC_PROG_AR])
+AN_PROGRAM([ar], [AC_PROG_AR])
+AC_DEFUN([AC_PROG_AR], [AC_CHECK_TOOL([AR], [ar], [ar])])
+AC_PROG_AR
+
AC_PROG_CC
AC_PROG_CPP
AC_PROG_MAKE_SET