added --disable-kernel-netlink configure option

This commit is contained in:
Andreas Steffen
2008-10-03 03:27:42 +00:00
parent 9c0aa46b64
commit 09d7ef2614
2 changed files with 14 additions and 2 deletions
+12
View File
@@ -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 =============
+2 -2
View File
@@ -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