From 070424f0c84a68078ac08fdc908542830f3d843f Mon Sep 17 00:00:00 2001 From: Thomas Petazzoni Date: Tue, 4 Aug 2009 17:16:03 +0200 Subject: ipsec-tools: only show the security context choice when ipsec enabled Signed-off-by: Thomas Petazzoni --- package/ipsec-tools/Config.in | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/package/ipsec-tools/Config.in b/package/ipsec-tools/Config.in index a55ff0c2d..d29cb8604 100644 --- a/package/ipsec-tools/Config.in +++ b/package/ipsec-tools/Config.in @@ -61,6 +61,8 @@ config BR2_PACKAGE_IPSEC_TOOLS_LIBS Install libipsec.a and libracoon.a under staging_dir/lib for further development on a host machine. +if BR2_PACKAGE_IPSEC_TOOLS + choice prompt "Security context" default BR2_PACKAGE_IPSEC_SECCTX_DISABLE @@ -77,3 +79,5 @@ config BR2_PACKAGE_IPSEC_SECCTX_KERNEL bool "Enable kernel security context" endchoice + +endif -- cgit v1.2.3