[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[PATCH] Fix VPATH builds



While writing my previous patch I fixed a bug that was causing VPATH
builds to fail.  As Nick suggested, I've separated the fix into it's own
patch, which is attached.  It's against 0.2.0.34 but also applies to
0.2.1.12-alpha (I haven't tested it on that version, but I don't see
anything that would cause problems).  I suggest applying it to both
versions.

-- Michael
diff --git a/configure.in b/configure.in
index e733ad9..d7c0a25 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),

Attachment: signature.asc
Description: Digital signature