added --disable-kernel-netlink configure option
This commit is contained in:
@@ -425,6 +425,17 @@ AC_ARG_ENABLE(
|
|||||||
fi]
|
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(
|
AC_ARG_ENABLE(
|
||||||
[nat-transport],
|
[nat-transport],
|
||||||
AS_HELP_STRING([--enable-nat-transport],[enable NAT traversal with IPsec transport mode (default is NO).]),
|
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_MD5, test x$eap_md5 = xtrue)
|
||||||
AM_CONDITIONAL(USE_EAP_GTC, test x$eap_gtc = xtrue)
|
AM_CONDITIONAL(USE_EAP_GTC, test x$eap_gtc = xtrue)
|
||||||
AM_CONDITIONAL(USE_EAP_AKA, test x$eap_aka = 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 other options
|
||||||
dnl =============
|
dnl =============
|
||||||
|
|||||||
@@ -142,10 +142,10 @@ endif
|
|||||||
SUBDIRS = .
|
SUBDIRS = .
|
||||||
PLUGINS = ${libstrongswan_plugins}
|
PLUGINS = ${libstrongswan_plugins}
|
||||||
|
|
||||||
#if USE_KERNEL_NETLINK
|
if USE_KERNEL_NETLINK
|
||||||
SUBDIRS += plugins/kernel_netlink
|
SUBDIRS += plugins/kernel_netlink
|
||||||
PLUGINS += kernel-netlink
|
PLUGINS += kernel-netlink
|
||||||
#endif
|
endif
|
||||||
|
|
||||||
if USE_STROKE
|
if USE_STROKE
|
||||||
SUBDIRS += plugins/stroke
|
SUBDIRS += plugins/stroke
|
||||||
|
|||||||
Reference in New Issue
Block a user