added --disable-kernel-netlink configure option
This commit is contained in:
@@ -425,6 +425,17 @@ AC_ARG_ENABLE(
|
||||
fi]
|
||||
)
|
||||
|
||||
AC_ARG_ENABLE(
|
||||
[kernel-netlink],
|
||||
AS_HELP_STRING([--disable-kernel-netlink],[disable the netlink kernel interface. (default is NO).]),
|
||||
[if test x$enableval = xyes; then
|
||||
kernel_netlink=true
|
||||
else
|
||||
kernel_netlink=false
|
||||
fi],
|
||||
kernel_netlink=true
|
||||
)
|
||||
|
||||
AC_ARG_ENABLE(
|
||||
[nat-transport],
|
||||
AS_HELP_STRING([--enable-nat-transport],[enable NAT traversal with IPsec transport mode (default is NO).]),
|
||||
@@ -853,6 +864,7 @@ AM_CONDITIONAL(USE_EAP_IDENTITY, test x$eap_identity = xtrue)
|
||||
AM_CONDITIONAL(USE_EAP_MD5, test x$eap_md5 = xtrue)
|
||||
AM_CONDITIONAL(USE_EAP_GTC, test x$eap_gtc = xtrue)
|
||||
AM_CONDITIONAL(USE_EAP_AKA, test x$eap_aka = xtrue)
|
||||
AM_CONDITIONAL(USE_KERNEL_NETLINK, test x$kernel_netlink = xtrue)
|
||||
|
||||
dnl other options
|
||||
dnl =============
|
||||
|
||||
@@ -142,10 +142,10 @@ endif
|
||||
SUBDIRS = .
|
||||
PLUGINS = ${libstrongswan_plugins}
|
||||
|
||||
#if USE_KERNEL_NETLINK
|
||||
if USE_KERNEL_NETLINK
|
||||
SUBDIRS += plugins/kernel_netlink
|
||||
PLUGINS += kernel-netlink
|
||||
#endif
|
||||
endif
|
||||
|
||||
if USE_STROKE
|
||||
SUBDIRS += plugins/stroke
|
||||
|
||||
Reference in New Issue
Block a user