fix another dependency bug introduced by [2333]
[openwrt-10.03/.git] / package / openldap / Config.in
index 15b63e47980461316d57d4d3e831be51f0705ee1..1afab0c8334a7d2b0b167c8e5b7fc90aed0e41e2 100644 (file)
@@ -1,20 +1,33 @@
-config BR2_PACKAGE_OPENLDAP
-       tristate "OpenLDAP"
+config BR2_COMPILE_OPENLDAP
+       bool
+       default n
+       depends BR2_PACKAGE_LIBOPENLDAP
+
+config BR2_PACKAGE_LIBOPENLDAP
+       prompt "libopenldap....................... Open source LDAP (Lightweight Directory Access Protocol) client libraries"
+       tristate
        default m if CONFIG_DEVEL
+       select BR2_COMPILE_OPENLDAP
        help
+         
          OpenLDAP Software is an open source implementation of the 
          Lightweight Directory Access Protocol (LDAP).
          
          http://www.openldap.org/
          
-
-config BR2_PACKAGE_LIBOPENLDAP
-       tristate "libopenldap (client libraries)"
-       default m if CONFIG_DEVEL
-       depends BR2_PACKAGE_OPENLDAP
+         This package contains the shared LDAP client libraries, needed by other programs.
 
 config BR2_PACKAGE_OPENLDAP_UTILS
-       tristate "openldap-utils (client utilities)"
+       prompt   "openldap-utils.................. OpenLDAP client utilities"
+       tristate
        default m if CONFIG_DEVEL
-       depends BR2_PACKAGE_OPENLDAP
+       depends BR2_PACKAGE_LIBOPENLDAP
+       help
+         
+         OpenLDAP Software is an open source implementation of the 
+         Lightweight Directory Access Protocol (LDAP).
+         
+         http://www.openldap.org/
+         
+         This package contains client programs required to access LDAP servers.