Changes in / [fb62f81f:9779c18]
- Files:
-
- 2 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
Makefile
rfb62f81f r9779c18 13 13 headers = account.h bitlbee.h commands.h conf.h config.h crypting.h help.h ini.h ipc.h irc.h log.h nick.h query.h set.h sock.h storage.h url.h user.h protocols/http_client.h protocols/md5.h protocols/nogaim.h protocols/proxy.h protocols/sha.h protocols/ssl_client.h 14 14 subdirs = protocols 15 16 objects += $(LDAP_OBJ) 15 17 16 18 # Expansion of variables -
configure
rfb62f81f r9779c18 28 28 strip=1 29 29 ipv6=1 30 ldap=auto 30 31 ssl=auto 31 32 … … 63 64 64 65 --ipv6=0/1 IPv6 socket support $ipv6 66 67 --ldap=0/1/auto LDAP support $ldap 65 68 66 69 --ssl=... SSL library to use (gnutls, nss, openssl, bogus, auto) … … 203 206 } 204 207 208 detect_ldap() 209 { 210 if $PKG_CONFIG --version > /dev/null 2>/dev/null && $PKG_CONFIG ldb; then 211 cat<<EOF>>Makefile.settings 212 EFLAGS+=`$PKG_CONFIG --libs ldb` 213 CFLAGS+=`$PKG_CONFIG --cflags ldb` 214 EOF 215 ldap=1 216 ret=1 217 else 218 ret=0 219 fi 220 } 221 205 222 if [ "$msn" = 1 -o "$jabber" = 1 ]; then 206 223 if [ "$ssl" = "auto" ]; then … … 263 280 fi 264 281 282 if [ "$ldap" = "auto" ]; then 283 detect_ldap 284 fi 285 286 if [ "$ldap" = 0 ]; then 287 echo "LDAP_OBJ=\# no ldap" >> Makefile.settings 288 echo "#undef LDAP" >> config.h 289 elif [ "$ldap" = 1 ]; then 290 echo "#define LDAP 1" >> config.h 291 echo "LDAP_OBJ=storage_ldap.o" >> Makefile.settings 292 fi 293 265 294 if [ "$strip" = 0 ]; then 266 295 echo "STRIP=\# skip strip" >> Makefile.settings; … … 416 445 echo ' Building without IM-protocol support. We wish you a lot of fun...'; 417 446 fi 447 448 if [ "$ldap" = "0" ]; then 449 echo " LDAP storage backend disabled." 450 else 451 echo " LDAP storage backend enabled." 452 fi -
storage.c
rfb62f81f r9779c18 6 6 7 7 /* Support for multiple storage backends */ 8 9 /* Copyright (C) 2005 Jelmer Vernooij <jelmer@samba.org> */ 8 10 9 11 /*
Note: See TracChangeset
for help on using the changeset viewer.