summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2009-03-08 23:18:44 +0000
committerNick Mathewson <nickm@torproject.org>2009-03-08 23:18:44 +0000
commit18648907c44885c302f46494a5c33b6c820ca09d (patch)
treeac20a0500d3095381ae4ab9de392e9a1ed823a9c
parent01fff4e11b1c2d37af5d4f62b2b1550cf8da6b84 (diff)
downloadtor-18648907c44885c302f46494a5c33b6c820ca09d.tar.gz
tor-18648907c44885c302f46494a5c33b6c820ca09d.zip
Build correctly from outside main source tree. Patch from Michael Gold.
svn:r18809
-rw-r--r--ChangeLog3
-rw-r--r--configure.in2
2 files changed, 3 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 0d05788baa..a68478f208 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -41,6 +41,8 @@ Changes in version 0.2.1.13-????? - 2009-02-??
aligned. Possible fix for bug 604.
- Parse dates and IPv4 addresses in a locale- and libc-independent
manner, to avoid platform-dependent behavior on malformed input.
+ - Build correctly when configured to build outside the main source
+ path. Patch from Michael Gold.
o Minor features:
- On Linux, use the prctl call to re-enable core dumps when the user
@@ -50,7 +52,6 @@ Changes in version 0.2.1.13-????? - 2009-02-??
can keep up-to-date on which relays they should be using.
- Update to the "February 26 2009" ip-to-country file.
-
Changes in version 0.2.0.34 - 2009-02-08
Tor 0.2.0.34 features several more security-related fixes. You should
upgrade, especially if you run an exit relay (remote crash) or a
diff --git a/configure.in b/configure.in
index 60cace0a70..273f878015 100644
--- a/configure.in
+++ b/configure.in
@@ -18,7 +18,7 @@ fi
# Not a no-op; we want to make sure that CPPFLAGS is set before we use
# the += operator on it in src/or/Makefile.am
-CPPFLAGS="$CPPFLAGS -I../common"
+CPPFLAGS="$CPPFLAGS -I\${top_srcdir}/src/common"
AC_ARG_ENABLE(debug,
AS_HELP_STRING(--enable-debug, compile with debugging info),