[b7d3cc34] | 1 | #!/bin/sh |
---|
| 2 | |
---|
| 3 | ############################## |
---|
| 4 | ## Configurer for BitlBee ## |
---|
| 5 | ## ## |
---|
| 6 | ## Copyright 2004 Lintux ## |
---|
| 7 | ## Copyright 2002 Lucumo ## |
---|
| 8 | ############################## |
---|
| 9 | |
---|
| 10 | prefix='/usr/local/' |
---|
| 11 | bindir='$prefix/sbin/' |
---|
| 12 | etcdir='$prefix/etc/bitlbee/' |
---|
| 13 | mandir='$prefix/share/man/' |
---|
| 14 | datadir='$prefix/share/bitlbee/' |
---|
| 15 | config='/var/lib/bitlbee/' |
---|
[34b17d9] | 16 | pidfile='/var/run/bitlbee.pid' |
---|
[6dff9d4] | 17 | ipcsocket='/var/run/bitlbee' |
---|
[7b23afd] | 18 | plugindir='$prefix/lib/bitlbee' |
---|
[e506d6c] | 19 | pcdir='$prefix/lib/pkgconfig' |
---|
| 20 | includedir='$prefix/include/bitlbee' |
---|
[b7d3cc34] | 21 | |
---|
| 22 | msn=1 |
---|
| 23 | jabber=1 |
---|
| 24 | oscar=1 |
---|
| 25 | yahoo=1 |
---|
| 26 | |
---|
| 27 | debug=0 |
---|
| 28 | strip=1 |
---|
| 29 | ipv6=1 |
---|
| 30 | ssl=auto |
---|
| 31 | |
---|
| 32 | arch=`uname -s` |
---|
| 33 | cpu=`uname -m` |
---|
| 34 | |
---|
| 35 | echo BitlBee configure |
---|
| 36 | |
---|
| 37 | while [ -n "$1" ]; do |
---|
| 38 | e="`expr "X$1" : 'X--\(.*=.*\)'`" |
---|
| 39 | if [ -z "$e" ]; then |
---|
| 40 | cat<<EOF |
---|
| 41 | |
---|
| 42 | Usage: $0 [OPTIONS] |
---|
| 43 | |
---|
| 44 | Option Description Default |
---|
| 45 | |
---|
| 46 | --prefix=... Directories to put files in $prefix |
---|
| 47 | --bindir=... $bindir |
---|
| 48 | --etcdir=... $etcdir |
---|
| 49 | --mandir=... $mandir |
---|
| 50 | --datadir=... $datadir |
---|
[7b23afd] | 51 | --plugindir=... $plugindir |
---|
[34b17d9] | 52 | --pidfile=... $pidfile |
---|
[b7d3cc34] | 53 | --config=... $config |
---|
[6dff9d4] | 54 | --ipcsocket=... $ipcsocket |
---|
[b7d3cc34] | 55 | |
---|
| 56 | --msn=0/1 Disable/enable MSN part $msn |
---|
| 57 | --jabber=0/1 Disable/enable Jabber part $jabber |
---|
| 58 | --oscar=0/1 Disable/enable Oscar part (ICQ, AIM) $oscar |
---|
| 59 | --yahoo=0/1 Disable/enable Yahoo part $yahoo |
---|
| 60 | |
---|
| 61 | --debug=0/1 Disable/enable debugging $debug |
---|
| 62 | --strip=0/1 Disable/enable binary stripping $strip |
---|
| 63 | |
---|
| 64 | --ipv6=0/1 IPv6 socket support $ipv6 |
---|
| 65 | |
---|
[e3fb678] | 66 | --ssl=... SSL library to use (gnutls, nss, openssl, sspi, bogus, auto) |
---|
[b7d3cc34] | 67 | $ssl |
---|
[aec56b0] | 68 | --arch=... Override target architecture $arch |
---|
| 69 | |
---|
[b7d3cc34] | 70 | EOF |
---|
| 71 | exit; |
---|
| 72 | fi |
---|
| 73 | eval "$e" |
---|
| 74 | shift; |
---|
| 75 | done |
---|
| 76 | |
---|
| 77 | # Expand $prefix and get rid of double slashes |
---|
| 78 | bindir=`eval echo "$bindir/" | sed 's/\/\{1,\}/\//g'` |
---|
| 79 | etcdir=`eval echo "$etcdir/" | sed 's/\/\{1,\}/\//g'` |
---|
| 80 | mandir=`eval echo "$mandir/" | sed 's/\/\{1,\}/\//g'` |
---|
| 81 | datadir=`eval echo "$datadir/" | sed 's/\/\{1,\}/\//g'` |
---|
| 82 | config=`eval echo "$config/" | sed 's/\/\{1,\}/\//g'` |
---|
[7b23afd] | 83 | plugindir=`eval echo "$plugindir/" | sed 's/\/\{1,\}/\//g'` |
---|
[6dff9d4] | 84 | pidfile=`eval echo "$pidfile" | sed 's/\/\{1,\}/\//g'` |
---|
| 85 | ipcsocket=`eval echo "$ipcsocket" | sed 's/\/\{1,\}/\//g'` |
---|
[e506d6c] | 86 | includedir=`eval echo "$includedir" | sed 's/\/\{1,\}/\//g'` |
---|
| 87 | pcdir=`eval echo "$pcdir" | sed 's/\/\{1,\}/\//g'` |
---|
[b7d3cc34] | 88 | |
---|
| 89 | cat<<EOF>Makefile.settings |
---|
| 90 | ## BitlBee settings, generated by configure |
---|
| 91 | PREFIX=$prefix |
---|
| 92 | BINDIR=$bindir |
---|
| 93 | ETCDIR=$etcdir |
---|
| 94 | MANDIR=$mandir |
---|
| 95 | DATADIR=$datadir |
---|
[7b23afd] | 96 | PLUGINDIR=$plugindir |
---|
[b7d3cc34] | 97 | CONFIG=$config |
---|
[6dff9d4] | 98 | IPCSOCKET=$ipcsocket |
---|
[e506d6c] | 99 | INCLUDEDIR=$includedir |
---|
| 100 | PCDIR=$pcdir |
---|
[b7d3cc34] | 101 | |
---|
| 102 | ARCH=$arch |
---|
| 103 | CPU=$cpu |
---|
| 104 | OUTFILE=bitlbee |
---|
| 105 | |
---|
| 106 | DESTDIR= |
---|
| 107 | LFLAGS= |
---|
| 108 | EFLAGS= |
---|
| 109 | EOF |
---|
| 110 | |
---|
| 111 | cat<<EOF>config.h |
---|
| 112 | /* BitlBee settings, generated by configure |
---|
| 113 | |
---|
| 114 | Do *NOT* use any of these defines in your code without thinking twice, most |
---|
| 115 | of them can/will be overridden at run-time */ |
---|
| 116 | |
---|
| 117 | #define CONFIG "$config" |
---|
| 118 | #define ETCDIR "$etcdir" |
---|
| 119 | #define VARDIR "$datadir" |
---|
[7b23afd] | 120 | #define PLUGINDIR "$plugindir" |
---|
[34b17d9] | 121 | #define PIDFILE "$pidfile" |
---|
[6dff9d4] | 122 | #define IPCSOCKET "$ipcsocket" |
---|
[b7d3cc34] | 123 | #define ARCH "$arch" |
---|
| 124 | #define CPU "$cpu" |
---|
| 125 | EOF |
---|
| 126 | |
---|
| 127 | if [ "$ipv6" = "1" ]; then |
---|
| 128 | echo '#define IPV6' >> config.h |
---|
| 129 | fi |
---|
| 130 | |
---|
| 131 | if [ "$debug" = "1" ]; then |
---|
| 132 | echo 'CFLAGS=-g' >> Makefile.settings |
---|
| 133 | echo 'DEBUG=1' >> Makefile.settings |
---|
| 134 | echo '#define DEBUG' >> config.h |
---|
| 135 | else |
---|
| 136 | echo 'CFLAGS=-O3' >> Makefile.settings |
---|
| 137 | fi |
---|
| 138 | |
---|
| 139 | echo CFLAGS+=-I`pwd` -I`pwd`/protocols -I. >> Makefile.settings |
---|
| 140 | |
---|
[f712188] | 141 | echo CFLAGS+=-DHAVE_CONFIG_H >> Makefile.settings |
---|
| 142 | |
---|
[b7d3cc34] | 143 | if [ -n "$CC" ]; then |
---|
| 144 | echo "CC=$CC" >> Makefile.settings; |
---|
| 145 | elif type gcc > /dev/null 2> /dev/null; then |
---|
| 146 | echo "CC=gcc" >> Makefile.settings; |
---|
| 147 | elif type cc > /dev/null 2> /dev/null; then |
---|
| 148 | echo "CC=cc" >> Makefile.settings; |
---|
| 149 | else |
---|
| 150 | echo 'Cannot find a C compiler, aborting.' |
---|
| 151 | exit 1; |
---|
| 152 | fi |
---|
| 153 | |
---|
| 154 | if [ -n "$LD" ]; then |
---|
| 155 | echo "LD=$LD" >> Makefile.settings; |
---|
| 156 | elif type ld > /dev/null 2> /dev/null; then |
---|
| 157 | echo "LD=ld" >> Makefile.settings; |
---|
| 158 | else |
---|
| 159 | echo 'Cannot find ld, aborting.' |
---|
| 160 | exit 1; |
---|
| 161 | fi |
---|
| 162 | |
---|
[32c632f] | 163 | if [ -z "$PKG_CONFIG" ]; then |
---|
| 164 | PKG_CONFIG=pkg-config |
---|
| 165 | fi |
---|
| 166 | |
---|
[0a69d7b] | 167 | GLIB=0 |
---|
| 168 | |
---|
[32c632f] | 169 | if $PKG_CONFIG --version > /dev/null 2>/dev/null && $PKG_CONFIG glib-2.0; then |
---|
[b7d3cc34] | 170 | cat<<EOF>>Makefile.settings |
---|
[32c632f] | 171 | EFLAGS+=`$PKG_CONFIG --libs glib-2.0 gmodule-2.0` |
---|
| 172 | CFLAGS+=`$PKG_CONFIG --cflags glib-2.0 gmodule-2.0` |
---|
[b7d3cc34] | 173 | EOF |
---|
| 174 | echo '#define GLIB2' >> config.h |
---|
[0a69d7b] | 175 | GLIB=2 |
---|
[b7d3cc34] | 176 | elif type glib-config > /dev/null 2> /dev/null; then |
---|
| 177 | cat<<EOF>>Makefile.settings |
---|
| 178 | EFLAGS+=`glib-config --libs` |
---|
| 179 | CFLAGS+=`glib-config --cflags` |
---|
| 180 | EOF |
---|
| 181 | echo '#define GLIB1' >> config.h |
---|
[0a69d7b] | 182 | GLIB=1 |
---|
[b7d3cc34] | 183 | else |
---|
| 184 | echo 'Cannot find glib development libraries, aborting. (Install libglib-dev?)' |
---|
| 185 | exit 1; |
---|
| 186 | fi |
---|
| 187 | |
---|
[0a69d7b] | 188 | if [ GLIB = 1 -o -r /usr/include/iconv.h ]; then |
---|
[b7d3cc34] | 189 | :; |
---|
| 190 | elif [ -r /usr/local/include/iconv.h ]; then |
---|
| 191 | echo CFLAGS+=-I/usr/local/include >> Makefile.settings; |
---|
| 192 | else |
---|
| 193 | echo |
---|
| 194 | echo 'Warning: Could not find iconv.h, you might have to install it and/or modify' |
---|
| 195 | echo 'Makefile.settings to tell where this file is.'; |
---|
| 196 | fi |
---|
| 197 | |
---|
| 198 | |
---|
| 199 | detect_gnutls() |
---|
| 200 | { |
---|
| 201 | if libgnutls-config --version > /dev/null 2> /dev/null; then |
---|
| 202 | cat <<EOF>>Makefile.settings |
---|
| 203 | EFLAGS+=`libgnutls-config --libs` |
---|
| 204 | CFLAGS+=`libgnutls-config --cflags` |
---|
| 205 | EOF |
---|
| 206 | |
---|
| 207 | ssl=gnutls |
---|
| 208 | ret=1; |
---|
| 209 | else |
---|
| 210 | ret=0; |
---|
| 211 | fi; |
---|
| 212 | } |
---|
| 213 | |
---|
| 214 | detect_nss() |
---|
| 215 | { |
---|
[32c632f] | 216 | if $PKG_CONFIG --version > /dev/null 2>/dev/null && $PKG_CONFIG mozilla-nss; then |
---|
[b7d3cc34] | 217 | cat<<EOF>>Makefile.settings |
---|
[32c632f] | 218 | EFLAGS+=`$PKG_CONFIG --libs mozilla-nss` |
---|
| 219 | CFLAGS+=`$PKG_CONFIG --cflags mozilla-nss` |
---|
[b7d3cc34] | 220 | EOF |
---|
| 221 | |
---|
| 222 | ssl=nss |
---|
| 223 | ret=1; |
---|
| 224 | else |
---|
| 225 | ret=0; |
---|
| 226 | fi; |
---|
| 227 | } |
---|
| 228 | |
---|
| 229 | if [ "$msn" = 1 -o "$jabber" = 1 ]; then |
---|
| 230 | if [ "$ssl" = "auto" ]; then |
---|
| 231 | detect_gnutls |
---|
| 232 | if [ "$ret" = "0" ]; then |
---|
| 233 | detect_nss |
---|
| 234 | fi; |
---|
| 235 | elif [ "$ssl" = "gnutls" ]; then |
---|
| 236 | detect_gnutls; |
---|
| 237 | elif [ "$ssl" = "nss" ]; then |
---|
| 238 | detect_nss; |
---|
[e3fb678] | 239 | elif [ "$ssl" = "sspi" ]; then |
---|
| 240 | echo |
---|
[b7d3cc34] | 241 | elif [ "$ssl" = "openssl" ]; then |
---|
| 242 | echo |
---|
| 243 | echo 'No detection code exists for OpenSSL. Make sure that you have a complete' |
---|
| 244 | echo 'install of OpenSSL (including devel/header files) before reporting' |
---|
| 245 | echo 'compilation problems.' |
---|
| 246 | echo |
---|
| 247 | echo 'Also, keep in mind that the OpenSSL is, according to some people, not' |
---|
| 248 | echo 'completely GPL-compatible. Using GnuTLS or NSS is recommended and better' |
---|
| 249 | echo 'supported by us. However, on many BSD machines, OpenSSL can be considered' |
---|
| 250 | echo 'part of the operating system, which makes it GPL-compatible.' |
---|
| 251 | echo |
---|
| 252 | echo 'For more info, see: http://www.openssl.org/support/faq.html#LEGAL2' |
---|
| 253 | echo ' http://www.gnome.org/~markmc/openssl-and-the-gpl.html' |
---|
| 254 | echo |
---|
| 255 | echo 'Please note that distributing a BitlBee binary which links to OpenSSL is' |
---|
| 256 | echo 'probably illegal. If you want to create and distribute a binary BitlBee' |
---|
| 257 | echo 'package, you really should use GnuTLS or NSS instead.' |
---|
| 258 | echo |
---|
| 259 | echo 'Also, the OpenSSL license requires us to say this:' |
---|
| 260 | echo ' * "This product includes software developed by the OpenSSL Project' |
---|
| 261 | echo ' * for use in the OpenSSL Toolkit. (http://www.openssl.org/)"' |
---|
| 262 | |
---|
| 263 | echo 'EFLAGS+=-lssl -lcrypto' >> Makefile.settings |
---|
| 264 | |
---|
| 265 | ret=1; |
---|
| 266 | elif [ "$ssl" = "bogus" ]; then |
---|
| 267 | echo |
---|
| 268 | echo 'Using bogus SSL code. This will not make the MSN module work, but it will' |
---|
| 269 | echo 'allow you to use the Jabber module - although without working SSL support.' |
---|
| 270 | |
---|
| 271 | ret=1; |
---|
| 272 | else |
---|
| 273 | echo |
---|
| 274 | echo 'ERROR: Unknown SSL library specified.' |
---|
| 275 | exit 1; |
---|
| 276 | fi |
---|
| 277 | |
---|
| 278 | if [ "$ret" = "0" ]; then |
---|
| 279 | echo |
---|
[54c5ca1] | 280 | echo 'ERROR: Could not find a suitable SSL library (GnuTLS, libnss or OpenSSL).' |
---|
| 281 | echo ' This is necessary for MSN and full Jabber support. To continue,' |
---|
| 282 | echo ' install a suitable SSL library or disable MSN support (--msn=0).' |
---|
| 283 | echo ' If you want Jabber without SSL support you can try --ssl=bogus.' |
---|
[b7d3cc34] | 284 | |
---|
| 285 | exit 1; |
---|
| 286 | fi; |
---|
| 287 | |
---|
| 288 | echo 'SSL_CLIENT=ssl_'$ssl'.o' >> Makefile.settings |
---|
| 289 | fi |
---|
| 290 | |
---|
| 291 | if [ "$strip" = 0 ]; then |
---|
| 292 | echo "STRIP=\# skip strip" >> Makefile.settings; |
---|
| 293 | else |
---|
| 294 | if [ "$debug" = 1 ]; then |
---|
| 295 | echo |
---|
| 296 | echo 'Stripping binaries does not make sense when debugging. Stripping disabled.' |
---|
| 297 | echo 'STRIP=\# skip strip' >> Makefile.settings |
---|
| 298 | strip=0; |
---|
| 299 | elif [ -n "$STRIP" ]; then |
---|
| 300 | echo "STRIP=$STRIP" >> Makefile.settings; |
---|
| 301 | elif type strip > /dev/null 2> /dev/null; then |
---|
| 302 | echo "STRIP=strip" >> Makefile.settings; |
---|
| 303 | elif /bin/test -x /usr/ccs/bin/strip; then |
---|
| 304 | echo "STRIP=/usr/ccs/bin/strip" >> Makefile.settings; |
---|
| 305 | else |
---|
| 306 | echo |
---|
| 307 | echo 'No strip utility found, cannot remove unnecessary parts from executable.' |
---|
| 308 | echo 'STRIP=\# skip strip' >> Makefile.settings |
---|
| 309 | strip=0; |
---|
| 310 | fi; |
---|
| 311 | fi |
---|
| 312 | |
---|
[ffea9b9] | 313 | echo |
---|
[a014331] | 314 | if [ -z "$BITLBEE_VERSION" -a -d .bzr ] && type bzr > /dev/null 2> /dev/null; then |
---|
| 315 | nick=`bzr nick` |
---|
| 316 | if [ -n "$nick" -a "$nick" != "bitlbee" ]; then |
---|
| 317 | nick="-$nick" |
---|
| 318 | else |
---|
| 319 | nick="" |
---|
| 320 | fi |
---|
[ffea9b9] | 321 | rev=`bzr revno` |
---|
| 322 | echo 'Using bzr revision #'$rev' as version number' |
---|
[a014331] | 323 | BITLBEE_VERSION=\"bzr$nick-$rev\" |
---|
[b7d3cc34] | 324 | fi |
---|
| 325 | |
---|
| 326 | if [ -n "$BITLBEE_VERSION" ]; then |
---|
| 327 | echo 'Spoofing version number: '$BITLBEE_VERSION |
---|
| 328 | echo '#undef BITLBEE_VERSION' >> config.h |
---|
[ffea9b9] | 329 | echo '#define BITLBEE_VERSION '$BITLBEE_VERSION >> config.h |
---|
| 330 | echo |
---|
[b7d3cc34] | 331 | fi |
---|
| 332 | |
---|
[e506d6c] | 333 | cat <<EOF>bitlbee.pc |
---|
| 334 | prefix=$prefix |
---|
| 335 | includedir=$includedir |
---|
| 336 | |
---|
| 337 | Name: bitlbee |
---|
| 338 | Description: IRC to IM gateway |
---|
| 339 | Requires: glib-2.0 |
---|
| 340 | Version: $BITLBEE_VERSION |
---|
| 341 | Libs: |
---|
| 342 | Cflags: -I\${includedir} |
---|
| 343 | |
---|
| 344 | EOF |
---|
| 345 | |
---|
[b7d3cc34] | 346 | protocols='' |
---|
| 347 | protoobjs='' |
---|
| 348 | |
---|
| 349 | if [ "$msn" = 0 ]; then |
---|
| 350 | echo '#undef WITH_MSN' >> config.h |
---|
| 351 | else |
---|
| 352 | echo '#define WITH_MSN' >> config.h |
---|
| 353 | protocols=$protocols'msn ' |
---|
[b5a22e3] | 354 | protoobjs=$protoobjs'msn_mod.o ' |
---|
[b7d3cc34] | 355 | fi |
---|
| 356 | |
---|
| 357 | if [ "$jabber" = 0 ]; then |
---|
| 358 | echo '#undef WITH_JABBER' >> config.h |
---|
| 359 | else |
---|
| 360 | echo '#define WITH_JABBER' >> config.h |
---|
| 361 | protocols=$protocols'jabber ' |
---|
[b5a22e3] | 362 | protoobjs=$protoobjs'jabber_mod.o ' |
---|
[b7d3cc34] | 363 | fi |
---|
| 364 | |
---|
| 365 | if [ "$oscar" = 0 ]; then |
---|
| 366 | echo '#undef WITH_OSCAR' >> config.h |
---|
| 367 | else |
---|
| 368 | echo '#define WITH_OSCAR' >> config.h |
---|
| 369 | protocols=$protocols'oscar ' |
---|
[b5a22e3] | 370 | protoobjs=$protoobjs'oscar_mod.o ' |
---|
[b7d3cc34] | 371 | fi |
---|
| 372 | |
---|
| 373 | if [ "$yahoo" = 0 ]; then |
---|
| 374 | echo '#undef WITH_YAHOO' >> config.h |
---|
| 375 | else |
---|
| 376 | echo '#define WITH_YAHOO' >> config.h |
---|
| 377 | protocols=$protocols'yahoo ' |
---|
[b5a22e3] | 378 | protoobjs=$protoobjs'yahoo_mod.o ' |
---|
[b7d3cc34] | 379 | fi |
---|
| 380 | |
---|
| 381 | if [ "$protocols" = "PROTOCOLS = " ]; then |
---|
| 382 | echo "WARNING: You haven't selected any communication protocol to compile!" |
---|
| 383 | echo " Bitlbee will run, but you will be unable to connect to IM servers!" |
---|
| 384 | fi |
---|
| 385 | |
---|
| 386 | echo "PROTOCOLS = $protocols" >> Makefile.settings |
---|
| 387 | echo "PROTOOBJS = $protoobjs" >> Makefile.settings |
---|
| 388 | |
---|
| 389 | echo Architecture: $arch |
---|
| 390 | case "$arch" in |
---|
| 391 | Linux ) |
---|
| 392 | ;; |
---|
| 393 | GNU/* ) |
---|
| 394 | ;; |
---|
| 395 | *BSD ) |
---|
| 396 | echo 'EFLAGS+=-liconv' >> Makefile.settings; |
---|
| 397 | ;; |
---|
| 398 | SunOS ) |
---|
| 399 | echo 'EFLAGS+=-lresolv -lnsl -lsocket' >> Makefile.settings |
---|
| 400 | echo 'STRIP=\# skip strip' >> Makefile.settings |
---|
| 401 | echo 'EFLAGS+=-liconv' >> Makefile.settings; |
---|
| 402 | ;; |
---|
| 403 | Darwin ) |
---|
| 404 | echo 'EFLAGS+=-liconv' >> Makefile.settings; |
---|
| 405 | ;; |
---|
| 406 | IRIX ) |
---|
| 407 | ;; |
---|
| 408 | CYGWIN* ) |
---|
| 409 | echo 'Cygwin is not officially supported.' |
---|
| 410 | ;; |
---|
[aec56b0] | 411 | Windows ) |
---|
| 412 | echo OUTFILE=bitlbee.exe >> Makefile.settings |
---|
| 413 | echo LFLAGS+=-lwsock32 >> Makefile.settings |
---|
| 414 | echo EFLAGS+=-lsecur32 >> Makefile.settings |
---|
| 415 | ;; |
---|
[b7d3cc34] | 416 | * ) |
---|
[8d6c4b1] | 417 | echo 'We haven'\''t tested BitlBee on many platforms yet, yours is untested. YMMV.' |
---|
| 418 | echo 'Please report any problems at http://bugs.bitlbee.org/.' |
---|
[b7d3cc34] | 419 | ;; |
---|
| 420 | esac |
---|
| 421 | |
---|
| 422 | echo |
---|
| 423 | echo 'Configuration done:' |
---|
| 424 | |
---|
| 425 | if [ "$debug" = "1" ]; then |
---|
| 426 | echo ' Debugging enabled.'; |
---|
| 427 | else |
---|
| 428 | echo ' Debugging disabled.'; |
---|
| 429 | fi |
---|
| 430 | |
---|
| 431 | if [ "$strip" = "1" ]; then |
---|
| 432 | echo ' Binary stripping enabled.'; |
---|
| 433 | else |
---|
| 434 | echo ' Binary stripping disabled.'; |
---|
| 435 | fi |
---|
| 436 | |
---|
| 437 | if [ "$msn" = "1" ]; then |
---|
| 438 | echo ' Using SSL library: '$ssl; |
---|
| 439 | fi |
---|
| 440 | |
---|
[e5663e0] | 441 | #if [ "$flood" = "0" ]; then |
---|
| 442 | # echo ' Flood protection disabled.'; |
---|
| 443 | #else |
---|
| 444 | # echo ' Flood protection enabled.'; |
---|
| 445 | #fi |
---|
[b7d3cc34] | 446 | |
---|
| 447 | if [ -n "$protocols" ]; then |
---|
| 448 | echo ' Building with these protocols:' $protocols; |
---|
| 449 | else |
---|
| 450 | echo ' Building without IM-protocol support. We wish you a lot of fun...'; |
---|
| 451 | fi |
---|