From: Nick Mathewson Date: Sun, 8 Mar 2009 23:18:44 +0000 (+0000) Subject: Build correctly from outside main source tree. Patch from Michael Gold. X-Git-Tag: tor-0.2.1.13-alpha~6 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=18648907c44885c302f46494a5c33b6c820ca09d;p=thirdparty%2Ftor.git Build correctly from outside main source tree. Patch from Michael Gold. svn:r18809 --- 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),