- Timestamp:
- 2006-02-12T08:02:03Z (19 years ago)
- Branches:
- master
- Children:
- 96ace1b
- Parents:
- 5ebe625
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
configure
r5ebe625 rf665dab 25 25 strip=1 26 26 ipv6=1 27 ldb=auto 27 28 ssl=auto 28 29 … … 59 60 60 61 --ipv6=0/1 IPv6 socket support $ipv6 62 63 --ldb=0/1/auto LDB support $ldb 61 64 62 65 --ssl=... SSL library to use (gnutls, nss, openssl, bogus, auto) … … 209 212 ret=0; 210 213 fi; 214 } 215 216 detect_ldb() 217 { 218 if $PKG_CONFIG --version > /dev/null 2>/dev/null && $PKG_CONFIG ldb; then 219 cat<<EOF>>Makefile.settings 220 EFLAGS+=`$PKG_CONFIG --libs ldb` 221 CFLAGS+=`$PKG_CONFIG --cflags ldb` 222 EOF 223 ldb=1 224 ret=1 225 else 226 ret=0 227 fi 211 228 } 212 229 … … 271 288 fi 272 289 290 if [ "$ldb" = "auto" ]; then 291 detect_ldb 292 fi 293 294 if [ "$ldb" = 0 ]; then 295 echo "LDB_OBJ=\# no ldb" >> Makefile.settings 296 echo "#undef LDB" >> config.h 297 elif [ "$ldb" = 1 ]; then 298 echo "#define LDB 1" >> config.h 299 echo "LDB_OBJ=storage_ldb.o" >> Makefile.settings 300 fi 301 273 302 if [ "$strip" = 0 ]; then 274 303 echo "STRIP=\# skip strip" >> Makefile.settings; … … 408 437 echo ' Building without IM-protocol support. We wish you a lot of fun...'; 409 438 fi 439 440 if [ "$ldb" = "0" ]; then 441 echo " LDB storage backend disabled." 442 else 443 echo " LDB storage backend enabled." 444 fi
Note: See TracChangeset
for help on using the changeset viewer.