mirror of
https://github.com/PDP-10/klh10.git
synced 2026-01-11 23:52:54 +00:00
Offer configure option to disable VDE.
This commit is contained in:
parent
06d8ca1a56
commit
8cfece4ef4
18
configure.ac
18
configure.ac
@ -184,6 +184,24 @@ then
|
||||
echo 'Compiling without bridge support'
|
||||
fi
|
||||
|
||||
# -------------------------------------------------------------------------
|
||||
# Check whether we want VDE support
|
||||
# -------------------------------------------------------------------------
|
||||
|
||||
AC_ARG_ENABLE(vde,
|
||||
AC_HELP_STRING([--disable-vde],[disable vde networking]),
|
||||
[ case "${enableval}" in
|
||||
yes) vde=true ;;
|
||||
no) vde=false ;;
|
||||
*) AC_MSG_ERROR(bad value ${enableval} for --enable-vde) ;;
|
||||
esac ],
|
||||
[ vde=true ] )
|
||||
if test x$vde = xfalse
|
||||
then
|
||||
AC_DEFINE(KLH10_NET_VDE, 0, [Set to 0 to disable VDE networking])
|
||||
echo 'Compiling without VDE support'
|
||||
fi
|
||||
|
||||
# -------------------------------------------------------------------------
|
||||
# Check large file support and the sizes of related types
|
||||
# -------------------------------------------------------------------------
|
||||
|
||||
@ -42,7 +42,7 @@
|
||||
# error "A bridge is useless without a TAP device... configuration error!"
|
||||
#endif
|
||||
|
||||
#if HAVE_LIBVDEPLUG_H && HAVE_LIBVDEPLUG
|
||||
#if HAVE_LIBVDEPLUG_H && HAVE_LIBVDEPLUG && (!defined(KLH10_NET_VDE) || KLH10_NET_VDE)
|
||||
# include <libvdeplug.h>
|
||||
# define KLH10_NET_VDE 1
|
||||
#endif
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user