X-Git-Url: https://www.tinc-vpn.org/git/browse?a=blobdiff_plain;f=configure.ac;fp=configure.ac;h=5a82c69651fa6557eb2b8ee4a44b24fd9587a97e;hb=1ebadf1a4e497f36d6d3a916b14b4f29c925fda5;hp=1b8b887ed509874b1cfb579ab607a106df4adec9;hpb=1af8ca58b86f5956d6acd9f63083a84666647ef0;p=tinc diff --git a/configure.ac b/configure.ac index 1b8b887e..5a82c696 100644 --- a/configure.ac +++ b/configure.ac @@ -95,6 +95,7 @@ AC_ARG_ENABLE(vde, AS_HELP_STRING([--enable-vde], [enable support for Virtual Distributed Ethernet]), [ AS_IF([test "x$enable_vde" = "xyes"], [ AC_CHECK_HEADERS(libvdeplug_dyn.h, [], [AC_MSG_ERROR([VDE plug header files not found.]); break]) + AC_CHECK_LIB(dl, dlopen, [LIBS="$LIBS -ldl"], [AC_MSG_ERROR([VDE plug depends on libdl.]); break]) AC_DEFINE(ENABLE_VDE, 1, [Support for VDE]) vde=true ],