summaryrefslogtreecommitdiff
path: root/configure.in
diff options
context:
space:
mode:
authorGenadijus Paleckis <rwx () openbsd ! lt>2012-01-02 14:55:43 +0100
committerStef Walter <stefw@collabora.co.uk>2012-01-02 14:55:43 +0100
commit7f91436fead9673d99b74d0e0f797f7c45223248 (patch)
tree498e75e489c78362c9872f1e706e5b96f94ceb69 /configure.in
parent4d7afff20d11a931846298a6e5be40c43a1dfbb5 (diff)
Ported to OpenBSDHEADmaster
* In particular use /dev/pf for transparent client lookups
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in4
1 files changed, 4 insertions, 0 deletions
diff --git a/configure.in b/configure.in
index 1b2b485..0f69b88 100644
--- a/configure.in
+++ b/configure.in
@@ -88,6 +88,10 @@ AC_CHECK_HEADERS([linux/types.h linux/netfilter_ipv4.h],
]]
)
+# Check for OpenBSD type transparent proxy support
+AC_CHECK_HEADERS([net/pfvar.h],
+ AC_DEFINE(USE_PF_NATLOOKUP, 1, [Whether the system supports OpenBSD packet filter for transparent proxy]),,)
+
# Checks for typedefs, structures, and compiler characteristics.
AC_TYPE_SIZE_T