Browse Source

Build correctly from outside main source tree. Patch from Michael Gold.

svn:r18809
Nick Mathewson 15 years ago
parent
commit
18648907c4
2 changed files with 3 additions and 2 deletions
  1. 2 1
      ChangeLog
  2. 1 1
      configure.in

+ 2 - 1
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

+ 1 - 1
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),