]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
Add autoconf magic to support Bitrig
authorNick Mathewson <nickm@torproject.org>
Thu, 4 Oct 2012 14:56:33 +0000 (10:56 -0400)
committerNick Mathewson <nickm@torproject.org>
Thu, 4 Oct 2012 14:56:33 +0000 (10:56 -0400)
Bitrig is an openbsd fork.  Patch from dhill.  Ticket 6982.

changes/6982 [new file with mode: 0644]
configure.ac

diff --git a/changes/6982 b/changes/6982
new file mode 100644 (file)
index 0000000..edfa066
--- /dev/null
@@ -0,0 +1,3 @@
+  o Minor features (portability):
+    - Tor now builds correctly on Bitrig, an OpenBSD fork. Patch from dhill.
+      Ticket 6982.
index 4db1a2cb834512686f50d5b5613cc25ee5de9c93..bb7ea6b861915a6e0a7baa974feabdbdbf4fd880 100644 (file)
@@ -743,7 +743,7 @@ if test x$transparent = xtrue ; then
    if test x$transparent_ok = x1 ; then
      AC_DEFINE(USE_TRANSPARENT, 1, "Define to enable transparent proxy support")
      case $host in
-       *-*-openbsd*)
+       *-*-openbsd* | *-*-bitrig*)
          AC_DEFINE(OPENBSD, 1, "Define to handle pf on OpenBSD properly") ;;
      esac
    else
@@ -1252,7 +1252,7 @@ if test x$enable_gcc_warnings = xyes || test x$enable_gcc_warnings_advisory = xy
   CFLAGS="$save_CFLAGS"
 
   case $host in
-    *-*-openbsd*)
+    *-*-openbsd* | *-*-bitrig*)
       # Some OpenBSD versions (like 4.8) have -Wsystem-headers by default.
       # That's fine, except that the headers don't pass -Wredundant-decls.
       # Therefore, let's disable -Wsystem-headers when we're building