- Timestamp:
- 2006-03-24T15:53:29Z (19 years ago)
- Branches:
- master
- Children:
- d5dfc3d
- Parents:
- 728a981
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
configure
r728a981 rf32d557 28 28 strip=1 29 29 ipv6=1 30 ld b=auto30 ldap=auto 31 31 ssl=auto 32 32 … … 65 65 --ipv6=0/1 IPv6 socket support $ipv6 66 66 67 --ld b=0/1/auto LDB support $ldb67 --ldap=0/1/auto LDAP support $ldap 68 68 69 69 --ssl=... SSL library to use (gnutls, nss, openssl, bogus, auto) … … 224 224 } 225 225 226 detect_ld b()226 detect_ldap() 227 227 { 228 228 if $PKG_CONFIG --version > /dev/null 2>/dev/null && $PKG_CONFIG ldb; then … … 231 231 CFLAGS+=`$PKG_CONFIG --cflags ldb` 232 232 EOF 233 ld b=1233 ldap=1 234 234 ret=1 235 235 else … … 298 298 fi 299 299 300 if [ "$ld b" = "auto" ]; then301 detect_ld b302 fi 303 304 if [ "$ld b" = 0 ]; then305 echo "LD B_OBJ=\# no ldb" >> Makefile.settings306 echo "#undef LD B" >> config.h307 elif [ "$ld b" = 1 ]; then308 echo "#define LD B1" >> config.h309 echo "LD B_OBJ=storage_ldb.o" >> Makefile.settings300 if [ "$ldap" = "auto" ]; then 301 detect_ldap 302 fi 303 304 if [ "$ldap" = 0 ]; then 305 echo "LDAP_OBJ=\# no ldap" >> Makefile.settings 306 echo "#undef LDAP" >> config.h 307 elif [ "$ldap" = 1 ]; then 308 echo "#define LDAP 1" >> config.h 309 echo "LDAP_OBJ=storage_ldap.o" >> Makefile.settings 310 310 fi 311 311 … … 461 461 fi 462 462 463 if [ "$ld b" = "0" ]; then464 echo " LD Bstorage backend disabled."465 else 466 echo " LD Bstorage backend enabled."467 fi 463 if [ "$ldap" = "0" ]; then 464 echo " LDAP storage backend disabled." 465 else 466 echo " LDAP storage backend enabled." 467 fi
Note: See TracChangeset
for help on using the changeset viewer.