ipsec-tools: only show the security context choice when ipsec enabled
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Tue, 4 Aug 2009 15:16:03 +0000 (17:16 +0200)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Tue, 4 Aug 2009 15:16:03 +0000 (17:16 +0200)
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/ipsec-tools/Config.in

index a55ff0c2d492634c48441975d8b8415eabdd958a..d29cb8604c4bb82aab36c05027a787f2aeaf9aad 100644 (file)
@@ -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