From: Alon Bar-Lev Date: Sat, 2 Jun 2012 15:31:49 +0000 (+0300) Subject: build: support platforms that does not need explicit tun headers X-Git-Tag: v2.3_alpha2~27 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=05f16e84314d83d81aa341ad2c6ea706603befd6;p=thirdparty%2Fopenvpn.git 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 Signed-off-by: Alon Bar-Lev Acked-by: David Sommerseth 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 --- diff --git a/configure.ac b/configure.ac index 913ace63e..f770920d5 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