Fix and standardize Config.in
[openwrt/staging/dedeckeh.git] / openwrt / package / openldap / Config.in
index 02c675c0ddcb27e12782da3dee43dbcde8d0695f..21d2301db75d2861dbc30cdad20fdfed6b3599bd 100644 (file)
@@ -1,6 +1,13 @@
+config BR2_PACKAGE_OPENLDAP
+       bool
+       default n
+       depends BR2_PACKAGE_LIBOPENLDAP
+
 config BR2_PACKAGE_LIBOPENLDAP
-       tristate "libopenldap - Open source LDAP (Lightweight Directory Access Protocol) client libraries"
+       prompt "libopenldap - Open source LDAP (Lightweight Directory Access Protocol) client libraries"
+       tristate
        default m if CONFIG_DEVEL
+       select BR2_PACKAGE_OPENLDAP
        help
          
          OpenLDAP Software is an open source implementation of the 
@@ -8,13 +15,14 @@ config BR2_PACKAGE_LIBOPENLDAP
          
          http://www.openldap.org/
          
-         This package contains the LDAP client libraries, needed by other programs.
+         This package contains the shared LDAP client libraries, needed by other programs.
          
 
 config BR2_PACKAGE_OPENLDAP_UTILS
-       tristate "openldap-utils - OpenLDAP client utilities"
-       default m if CONFIG_DEVEL
        depends BR2_PACKAGE_LIBOPENLDAP
+       prompt "openldap-utils - OpenLDAP client utilities"
+       tristate
+       default m if CONFIG_DEVEL
        help
          
          OpenLDAP Software is an open source implementation of the 
@@ -25,6 +33,3 @@ config BR2_PACKAGE_OPENLDAP_UTILS
          This package contains client programs required to access LDAP servers.
          
 
-config BR2_PACKAGE_OPENLDAP
-       tristate
-       depends BR2_PACKAGE_LIBOPENLDAP