Fix wrong compile dependency, closes #501
[openwrt.git] / openwrt / package / net-snmp / Config.in
index a18e18e..e0a6d03 100644 (file)
@@ -1,16 +1,16 @@
-menu "net-snmp - Open source SNMP (Simple Network Management Protocol) implementation"
+menu "net-snmp.......................... Open source SNMP (Simple Network Management Protocol) implementation"
 
 config BR2_COMPILE_NET_SNMP
-       bool
+       tristate
        default n
-       depends BR2_PACKAGE_LIBNETSNMP || BR2_PACKAGE_SNMP_UTILS || BR2_PACKAGE_SNMPD || BR2_PACKAGE_SNMPD_STATIC
-       select BR2_PACKAGE_LIBELF
+       depends BR2_PACKAGE_LIBNETSNMP || BR2_PACKAGE_SNMPD_STATIC
 
 config BR2_PACKAGE_LIBNETSNMP
-       prompt "libnetsnmp - SNMP shared libraries"
+       prompt "libnetsnmp........................ SNMP shared libraries"
        tristate
        default m if CONFIG_DEVEL
        select BR2_COMPILE_NET_SNMP
+       select BR2_PACKAGE_LIBELF
        help
          Simple Network Management Protocol (SNMP) is a widely used 
          protocol for monitoring the health and welfare of network 
@@ -21,14 +21,12 @@ config BR2_PACKAGE_LIBNETSNMP
          http://www.net-snmp.org/
          
          This package contains shared libraries, needed by other programs.
-         
 
 config BR2_PACKAGE_SNMP_UTILS
-       prompt "snmp-utils - SNMP client utilities"
+       prompt   "snmp-utils...................... SNMP client utilities"
        tristate
-       select BR2_COMPILE_NET_SNMP
-       select BR2_PACKAGE_LIBNETSNMP
        default m if CONFIG_DEVEL
+       depends BR2_PACKAGE_LIBNETSNMP
        help
          Simple Network Management Protocol (SNMP) is a widely used 
          protocol for monitoring the health and welfare of network 
@@ -39,14 +37,13 @@ config BR2_PACKAGE_SNMP_UTILS
          http://www.net-snmp.org/
          
          This package contains the SNMP client utilities.
-         
 
 config BR2_PACKAGE_SNMPD
-       prompt "snmpd - SNMP agent"
+       prompt "snmpd............................. SNMP agent"
        tristate
+       default m if CONFIG_DEVEL
        select BR2_COMPILE_NET_SNMP
        select BR2_PACKAGE_LIBNETSNMP
-       default m if CONFIG_DEVEL
        help
          Simple Network Management Protocol (SNMP) is a widely used 
          protocol for monitoring the health and welfare of network 
@@ -57,13 +54,13 @@ config BR2_PACKAGE_SNMPD
          http://www.net-snmp.org/
          
          This package contains the SNMP agent, dynamically linked.
-         
 
 config BR2_PACKAGE_SNMPD_STATIC
-       prompt "snmpd-static - SNMP agent (static)"
+       prompt "snmpd-static...................... SNMP agent (statically linked)"
        tristate
-       select BR2_COMPILE_NET_SNMP
        default m if CONFIG_DEVEL
+       select BR2_COMPILE_NET_SNMP
+       select BR2_PACKAGE_LIBELF
        help
          Simple Network Management Protocol (SNMP) is a widely used 
          protocol for monitoring the health and welfare of network 
@@ -74,6 +71,5 @@ config BR2_PACKAGE_SNMPD_STATIC
          http://www.net-snmp.org/
          
          This package contains the SNMP agent, statically linked.
-         
 
 endmenu
This page took 0.026508 seconds and 4 git commands to generate.