fix another dependency bug introduced by [2333]
[openwrt-10.03/.git] / package / openldap / Config.in
index e536e777d043f91e768227ae96ee8392fc26b865..1afab0c8334a7d2b0b167c8e5b7fc90aed0e41e2 100644 (file)
@@ -1,21 +1,33 @@
-config BR2_PACKAGE_OPENLDAP
-       prompt "openldap - Open source LDAP (Lightweight Directory Access Protocol) implementation"
+config BR2_COMPILE_OPENLDAP
        bool
-       default y if CONFIG_DEVEL
+       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.