Fix conditional checking of tun/tap headers on DragonFly BSD.
authorGuus Sliepen <guus@tinc-vpn.org>
Fri, 15 Apr 2016 12:27:52 +0000 (14:27 +0200)
committerGuus Sliepen <guus@tinc-vpn.org>
Fri, 15 Apr 2016 12:27:52 +0000 (14:27 +0200)
configure.ac

index ad5ba62..4c0f926 100644 (file)
@@ -203,7 +203,7 @@ case $host_os in
       [], [AC_MSG_ERROR([Required header file missng])], [#include "$srcdir/src/have.h"]
     )
   ;;
-  *bsd*|*darwin*)
+  *bsd*|*dragonfly*|*darwin*)
     AC_CHECK_HEADERS([net/if_tun.h net/if_utun.h net/tun/if_tun.h net/if_tap.h net/tap/if_tap.h],
       [], [], [#include "$srcdir/src/have.h"]
     )