Changes in / [96ace1b:27ac72d]
- Files:
-
- 2 deleted
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
Makefile
r96ace1b r27ac72d 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 += $(LDB_OBJ)17 15 18 16 # Expansion of variables -
configure
r96ace1b r27ac72d 28 28 strip=1 29 29 ipv6=1 30 ldb=auto31 30 ssl=auto 32 31 … … 64 63 65 64 --ipv6=0/1 IPv6 socket support $ipv6 66 67 --ldb=0/1/auto LDB support $ldb68 65 69 66 --ssl=... SSL library to use (gnutls, nss, openssl, bogus, auto) … … 224 221 } 225 222 226 detect_ldb()227 {228 if $PKG_CONFIG --version > /dev/null 2>/dev/null && $PKG_CONFIG ldb; then229 cat<<EOF>>Makefile.settings230 EFLAGS+=`$PKG_CONFIG --libs ldb`231 CFLAGS+=`$PKG_CONFIG --cflags ldb`232 EOF233 ldb=1234 ret=1235 else236 ret=0237 fi238 }239 240 223 if [ "$msn" = 1 -o "$jabber" = 1 ]; then 241 224 if [ "$ssl" = "auto" ]; then … … 298 281 fi 299 282 300 if [ "$ldb" = "auto" ]; then301 detect_ldb302 fi303 304 if [ "$ldb" = 0 ]; then305 echo "LDB_OBJ=\# no ldb" >> Makefile.settings306 echo "#undef LDB" >> config.h307 elif [ "$ldb" = 1 ]; then308 echo "#define LDB 1" >> config.h309 echo "LDB_OBJ=storage_ldb.o" >> Makefile.settings310 fi311 312 283 if [ "$strip" = 0 ]; then 313 284 echo "STRIP=\# skip strip" >> Makefile.settings; … … 460 431 echo ' Building without IM-protocol support. We wish you a lot of fun...'; 461 432 fi 462 463 if [ "$ldb" = "0" ]; then464 echo " LDB storage backend disabled."465 else466 echo " LDB storage backend enabled."467 fi -
storage.c
r96ace1b r27ac72d 6 6 7 7 /* Support for multiple storage backends */ 8 9 /* Copyright (C) 2005 Jelmer Vernooij <jelmer@samba.org> */10 8 11 9 /*
Note: See TracChangeset
for help on using the changeset viewer.