]> git.proxmox.com Git - mirror_kronosnet.git/commitdiff
Make sure we build libtap if kronosnetd is also being built
authorChristine Caulfield <ccaulfie@redhat.com>
Fri, 21 Oct 2016 12:51:31 +0000 (13:51 +0100)
committerChristine Caulfield <ccaulfie@redhat.com>
Fri, 21 Oct 2016 12:51:31 +0000 (13:51 +0100)
I didn't think it worth checking for and using local libtap,
if anybody else wants that I will take patches.

Signed-off-by: Christine Caulfield <ccaulfie@redhat.com>
configure.ac

index 6d5f698f7c34f680b2d02dee3e920c0882599346..8177e48a7f0f38e848849a42bf308d6e3d769b1d 100644 (file)
@@ -76,6 +76,10 @@ AM_CONDITIONAL([BUILD_KRONOSNETD], test x$enable_kronosnetd = xyes)
 AC_ARG_ENABLE([libtap],
         [  --enable-libtap                   : libtap support ],,
         [ enable_libtap="no" ])
+
+if test "x$enable_kronosnetd" = xyes; then
+   enable_libtap=yes
+fi
 AM_CONDITIONAL([BUILD_LIBTAP], test x$enable_libtap = xyes)
 
 ## local helper functions