Changes in configure [f665dab:e506d6c]
Legend:
- Unmodified
- Added
- Removed
-
configure
rf665dab re506d6c 15 15 config='/var/lib/bitlbee/' 16 16 pidfile='/var/run/bitlbee.pid' 17 ipcsocket='/var/run/bitlbee' 17 18 plugindir='$prefix/lib/bitlbee' 19 pcdir='$prefix/lib/pkgconfig' 20 includedir='$prefix/include/bitlbee' 18 21 19 22 msn=1 … … 25 28 strip=1 26 29 ipv6=1 27 ldb=auto28 30 ssl=auto 29 31 … … 50 52 --pidfile=... $pidfile 51 53 --config=... $config 54 --ipcsocket=... $ipcsocket 52 55 53 56 --msn=0/1 Disable/enable MSN part $msn … … 60 63 61 64 --ipv6=0/1 IPv6 socket support $ipv6 62 63 --ldb=0/1/auto LDB support $ldb64 65 65 66 --ssl=... SSL library to use (gnutls, nss, openssl, bogus, auto) … … 79 80 config=`eval echo "$config/" | sed 's/\/\{1,\}/\//g'` 80 81 plugindir=`eval echo "$plugindir/" | sed 's/\/\{1,\}/\//g'` 81 pidfile=`eval echo "$pidfile/" | sed 's/\/\{1,\}/\//g'` 82 pidfile=`eval echo "$pidfile" | sed 's/\/\{1,\}/\//g'` 83 ipcsocket=`eval echo "$ipcsocket" | sed 's/\/\{1,\}/\//g'` 84 includedir=`eval echo "$includedir" | sed 's/\/\{1,\}/\//g'` 85 pcdir=`eval echo "$pcdir" | sed 's/\/\{1,\}/\//g'` 82 86 83 87 cat<<EOF>Makefile.settings … … 89 93 DATADIR=$datadir 90 94 PLUGINDIR=$plugindir 91 PIDFILE=$pidfile92 95 CONFIG=$config 96 IPCSOCKET=$ipcsocket 97 INCLUDEDIR=$includedir 98 PCDIR=$pcdir 93 99 94 100 ARCH=$arch … … 112 118 #define PLUGINDIR "$plugindir" 113 119 #define PIDFILE "$pidfile" 120 #define IPCSOCKET "$ipcsocket" 114 121 #define ARCH "$arch" 115 122 #define CPU "$cpu" … … 212 219 ret=0; 213 220 fi; 214 }215 216 detect_ldb()217 {218 if $PKG_CONFIG --version > /dev/null 2>/dev/null && $PKG_CONFIG ldb; then219 cat<<EOF>>Makefile.settings220 EFLAGS+=`$PKG_CONFIG --libs ldb`221 CFLAGS+=`$PKG_CONFIG --cflags ldb`222 EOF223 ldb=1224 ret=1225 else226 ret=0227 fi228 221 } 229 222 … … 288 281 fi 289 282 290 if [ "$ldb" = "auto" ]; then291 detect_ldb292 fi293 294 if [ "$ldb" = 0 ]; then295 echo "LDB_OBJ=\# no ldb" >> Makefile.settings296 echo "#undef LDB" >> config.h297 elif [ "$ldb" = 1 ]; then298 echo "#define LDB 1" >> config.h299 echo "LDB_OBJ=storage_ldb.o" >> Makefile.settings300 fi301 302 283 if [ "$strip" = 0 ]; then 303 284 echo "STRIP=\# skip strip" >> Makefile.settings; … … 336 317 fi 337 318 319 cat <<EOF>bitlbee.pc 320 prefix=$prefix 321 includedir=$includedir 322 323 Name: bitlbee 324 Description: IRC to IM gateway 325 Requires: glib-2.0 326 Version: $BITLBEE_VERSION 327 Libs: 328 Cflags: -I\${includedir} 329 330 EOF 331 338 332 protocols='' 339 333 protoobjs='' … … 437 431 echo ' Building without IM-protocol support. We wish you a lot of fun...'; 438 432 fi 439 440 if [ "$ldb" = "0" ]; then441 echo " LDB storage backend disabled."442 else443 echo " LDB storage backend enabled."444 fi
Note: See TracChangeset
for help on using the changeset viewer.