summaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authorAlon Bar-Lev <alon.barlev@gmail.com>2012-06-02 18:31:49 +0300
committerDavid Sommerseth <davids@redhat.com>2012-06-04 13:28:31 +0200
commit05f16e84314d83d81aa341ad2c6ea706603befd6 (patch)
treecc1ba8c0c3abd145c6673104de7308f811f9d1ad /configure.ac
parente4d6066229e6f58399f177c4e8fa0cd6dfb59f0a (diff)
downloadopenvpn-05f16e84314d83d81aa341ad2c6ea706603befd6.tar.gz
openvpn-05f16e84314d83d81aa341ad2c6ea706603befd6.tar.xz
openvpn-05f16e84314d83d81aa341ad2c6ea706603befd6.zip
build: support platforms that does not need explicit tun headers
Both "generic" and Darwin have no special headers to use tap. Fixes commit 7cacdfd4b7. Reported-by: Arne Schwabe <arne@rfc2549.org> Signed-off-by: Alon Bar-Lev <alon.barlev@gmail.com> Acked-by: David Sommerseth <davids@redhat.com> Message-Id: 1338651109-15806-1-git-send-email-alon.barlev@gmail.com URL: http://article.gmane.org/gmane.network.openvpn.devel/6659 Signed-off-by: David Sommerseth <davids@redhat.com>
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac2
1 files changed, 2 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 913ace6..f770920 100644
--- a/configure.ac
+++ b/configure.ac
@@ -277,6 +277,7 @@ case "$host" in
*-*-darwin*)
AC_DEFINE([TARGET_DARWIN], [1], [Are we running on Mac OS X?])
AC_DEFINE_UNQUOTED([TARGET_PREFIX], ["M"], [Target prefix])
+ have_tap_header="yes"
dnl some Mac OS X tendering (we use vararg macros...)
CPPFLAGS="$CPPFLAGS -no-cpp-precomp"
;;
@@ -293,6 +294,7 @@ case "$host" in
;;
*)
AC_DEFINE_UNQUOTED([TARGET_PREFIX], ["X"], [Target prefix])
+ have_tap_header="yes"
;;
esac