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/' |
---|
16 | plugindir='$prefix/lib/bitlbee/' |
---|
17 | includedir='$prefix/include/bitlbee/' |
---|
18 | libevent='/usr/' |
---|
19 | pidfile='/var/run/bitlbee.pid' |
---|
20 | ipcsocket='/var/run/bitlbee.sock' |
---|
21 | pcdir='$prefix/lib/pkgconfig' |
---|
22 | |
---|
23 | msn=1 |
---|
24 | jabber=1 |
---|
25 | oscar=1 |
---|
26 | yahoo=1 |
---|
27 | |
---|
28 | debug=0 |
---|
29 | strip=1 |
---|
30 | gcov=0 |
---|
31 | plugins=1 |
---|
32 | ipv6=1 |
---|
33 | |
---|
34 | events=glib |
---|
35 | ldap=0 |
---|
36 | ssl=auto |
---|
37 | |
---|
38 | arch=`uname -s` |
---|
39 | cpu=`uname -m` |
---|
40 | |
---|
41 | GLIB_MIN_VERSION=2.4 |
---|
42 | |
---|
43 | echo BitlBee configure |
---|
44 | |
---|
45 | while [ -n "$1" ]; do |
---|
46 | e="`expr "X$1" : 'X--\(.*=.*\)'`" |
---|
47 | if [ -z "$e" ]; then |
---|
48 | cat<<EOF |
---|
49 | |
---|
50 | Usage: $0 [OPTIONS] |
---|
51 | |
---|
52 | Option Description Default |
---|
53 | |
---|
54 | --prefix=... Directories to put files in $prefix |
---|
55 | --bindir=... $bindir |
---|
56 | --etcdir=... $etcdir |
---|
57 | --mandir=... $mandir |
---|
58 | --datadir=... $datadir |
---|
59 | --plugindir=... $plugindir |
---|
60 | --pidfile=... $pidfile |
---|
61 | --config=... $config |
---|
62 | --ipcsocket=... $ipcsocket |
---|
63 | |
---|
64 | --msn=0/1 Disable/enable MSN part $msn |
---|
65 | --jabber=0/1 Disable/enable Jabber part $jabber |
---|
66 | --oscar=0/1 Disable/enable Oscar part (ICQ, AIM) $oscar |
---|
67 | --yahoo=0/1 Disable/enable Yahoo part $yahoo |
---|
68 | |
---|
69 | --debug=0/1 Disable/enable debugging $debug |
---|
70 | --strip=0/1 Disable/enable binary stripping $strip |
---|
71 | --gcov=0/1 Disable/enable test coverage reporting $gcov |
---|
72 | --plugins=0/1 Disable/enable plugins support $plugins |
---|
73 | |
---|
74 | --ipv6=0/1 IPv6 socket support $ipv6 |
---|
75 | |
---|
76 | --events=... Event handler (glib, libevent) $events |
---|
77 | --ssl=... SSL library to use (gnutls, nss, openssl, bogus, auto) |
---|
78 | $ssl |
---|
79 | EOF |
---|
80 | exit; |
---|
81 | fi |
---|
82 | eval "$e" |
---|
83 | shift; |
---|
84 | done |
---|
85 | |
---|
86 | # Expand $prefix and get rid of double slashes |
---|
87 | bindir=`eval echo "$bindir/" | sed 's/\/\{1,\}/\//g'` |
---|
88 | etcdir=`eval echo "$etcdir/" | sed 's/\/\{1,\}/\//g'` |
---|
89 | mandir=`eval echo "$mandir/" | sed 's/\/\{1,\}/\//g'` |
---|
90 | datadir=`eval echo "$datadir/" | sed 's/\/\{1,\}/\//g'` |
---|
91 | config=`eval echo "$config/" | sed 's/\/\{1,\}/\//g'` |
---|
92 | plugindir=`eval echo "$plugindir/" | sed 's/\/\{1,\}/\//g'` |
---|
93 | includedir=`eval echo "$includedir"/ | sed 's/\/\{1,\}/\//g'` |
---|
94 | libevent=`eval echo "$libevent"/ | sed 's/\/\{1,\}/\//g'` |
---|
95 | |
---|
96 | pidfile=`eval echo "$pidfile" | sed 's/\/\{1,\}/\//g'` |
---|
97 | ipcsocket=`eval echo "$ipcsocket" | sed 's/\/\{1,\}/\//g'` |
---|
98 | pcdir=`eval echo "$pcdir" | sed 's/\/\{1,\}/\//g'` |
---|
99 | |
---|
100 | cat<<EOF>Makefile.settings |
---|
101 | ## BitlBee settings, generated by configure |
---|
102 | PREFIX=$prefix |
---|
103 | BINDIR=$bindir |
---|
104 | ETCDIR=$etcdir |
---|
105 | MANDIR=$mandir |
---|
106 | DATADIR=$datadir |
---|
107 | PLUGINDIR=$plugindir |
---|
108 | CONFIG=$config |
---|
109 | INCLUDEDIR=$includedir |
---|
110 | PCDIR=$pcdir |
---|
111 | |
---|
112 | ARCH=$arch |
---|
113 | CPU=$cpu |
---|
114 | OUTFILE=bitlbee |
---|
115 | |
---|
116 | DESTDIR= |
---|
117 | LFLAGS= |
---|
118 | EFLAGS= |
---|
119 | EOF |
---|
120 | |
---|
121 | cat<<EOF>config.h |
---|
122 | /* BitlBee settings, generated by configure |
---|
123 | |
---|
124 | Do *NOT* use any of these defines in your code without thinking twice, most |
---|
125 | of them can/will be overridden at run-time */ |
---|
126 | |
---|
127 | #define CONFIG "$config" |
---|
128 | #define ETCDIR "$etcdir" |
---|
129 | #define VARDIR "$datadir" |
---|
130 | #define PLUGINDIR "$plugindir" |
---|
131 | #define PIDFILE "$pidfile" |
---|
132 | #define IPCSOCKET "$ipcsocket" |
---|
133 | #define ARCH "$arch" |
---|
134 | #define CPU "$cpu" |
---|
135 | EOF |
---|
136 | |
---|
137 | if [ "$ipv6" = "1" ]; then |
---|
138 | echo '#define IPV6' >> config.h |
---|
139 | fi |
---|
140 | |
---|
141 | if [ "$debug" = "1" ]; then |
---|
142 | [ -z "$CFLAGS" ] && CFLAGS=-g |
---|
143 | echo 'DEBUG=1' >> Makefile.settings |
---|
144 | echo '#define DEBUG' >> config.h |
---|
145 | else |
---|
146 | [ -z "$CFLAGS" ] && CFLAGS=-O3 |
---|
147 | fi |
---|
148 | |
---|
149 | echo CFLAGS=$CFLAGS >> Makefile.settings |
---|
150 | echo CFLAGS+=-I`pwd` -I`pwd`/lib -I`pwd`/protocols -I. >> Makefile.settings |
---|
151 | |
---|
152 | echo CFLAGS+=-DHAVE_CONFIG_H >> Makefile.settings |
---|
153 | |
---|
154 | if [ -n "$CC" ]; then |
---|
155 | CC=$CC |
---|
156 | elif type gcc > /dev/null 2> /dev/null; then |
---|
157 | CC=gcc |
---|
158 | elif type cc > /dev/null 2> /dev/null; then |
---|
159 | CC=cc |
---|
160 | else |
---|
161 | echo 'Cannot find a C compiler, aborting.' |
---|
162 | exit 1; |
---|
163 | fi |
---|
164 | |
---|
165 | echo "CC=$CC" >> Makefile.settings; |
---|
166 | |
---|
167 | if [ -n "$LD" ]; then |
---|
168 | echo "LD=$LD" >> Makefile.settings; |
---|
169 | elif type ld > /dev/null 2> /dev/null; then |
---|
170 | echo "LD=ld" >> Makefile.settings; |
---|
171 | else |
---|
172 | echo 'Cannot find ld, aborting.' |
---|
173 | exit 1; |
---|
174 | fi |
---|
175 | |
---|
176 | if [ -z "$PKG_CONFIG" ]; then |
---|
177 | PKG_CONFIG=pkg-config |
---|
178 | fi |
---|
179 | |
---|
180 | if $PKG_CONFIG --version > /dev/null 2>/dev/null && $PKG_CONFIG glib-2.0; then |
---|
181 | if $PKG_CONFIG glib-2.0 --atleast-version=$GLIB_MIN_VERSION; then |
---|
182 | cat<<EOF>>Makefile.settings |
---|
183 | EFLAGS+=`$PKG_CONFIG --libs glib-2.0 gmodule-2.0` |
---|
184 | CFLAGS+=`$PKG_CONFIG --cflags glib-2.0 gmodule-2.0` |
---|
185 | EOF |
---|
186 | else |
---|
187 | echo |
---|
188 | echo 'Found glib2 '`$PKG_CONFIG glib-2.0 --modversion`', but version '$GLIB_MIN_VERSION' or newer is required.' |
---|
189 | exit 1 |
---|
190 | fi |
---|
191 | else |
---|
192 | echo |
---|
193 | echo 'Cannot find glib2 development libraries, aborting. (Install libglib2-dev?)' |
---|
194 | exit 1 |
---|
195 | fi |
---|
196 | |
---|
197 | if [ "$events" = "libevent" ]; then |
---|
198 | if ! [ -e "${libevent}include/event.h" ]; then |
---|
199 | echo |
---|
200 | echo 'Warning: Could not find event.h, you might have to install it and/or specify' |
---|
201 | echo 'its location using the --libevent= argument. (Example: If event.h is in' |
---|
202 | echo '/usr/local/include and binaries are in /usr/local/lib: --libevent=/usr/local)' |
---|
203 | fi |
---|
204 | |
---|
205 | echo '#define EVENTS_LIBEVENT' >> config.h |
---|
206 | cat <<EOF>>Makefile.settings |
---|
207 | EFLAGS+=-levent -L${libevent}lib |
---|
208 | CFLAGS+=-I${libevent}include |
---|
209 | EOF |
---|
210 | elif [ "$events" = "glib" ]; then |
---|
211 | ## We already use glib anyway, so this is all we need (and in fact not even this, but just to be sure...): |
---|
212 | echo '#define EVENTS_GLIB' >> config.h |
---|
213 | else |
---|
214 | echo |
---|
215 | echo 'ERROR: Unknown event handler specified.' |
---|
216 | exit 1 |
---|
217 | fi |
---|
218 | echo 'EVENT_HANDLER=events_'$events'.o' >> Makefile.settings |
---|
219 | |
---|
220 | detect_gnutls() |
---|
221 | { |
---|
222 | if libgnutls-config --version > /dev/null 2> /dev/null; then |
---|
223 | cat <<EOF>>Makefile.settings |
---|
224 | EFLAGS+=`libgnutls-config --libs` |
---|
225 | CFLAGS+=`libgnutls-config --cflags` |
---|
226 | EOF |
---|
227 | |
---|
228 | ssl=gnutls |
---|
229 | ret=1; |
---|
230 | else |
---|
231 | ret=0; |
---|
232 | fi; |
---|
233 | } |
---|
234 | |
---|
235 | detect_nss() |
---|
236 | { |
---|
237 | if $PKG_CONFIG --version > /dev/null 2>/dev/null && $PKG_CONFIG mozilla-nss; then |
---|
238 | cat<<EOF>>Makefile.settings |
---|
239 | EFLAGS+=`$PKG_CONFIG --libs mozilla-nss` |
---|
240 | CFLAGS+=`$PKG_CONFIG --cflags mozilla-nss` |
---|
241 | EOF |
---|
242 | |
---|
243 | ssl=nss |
---|
244 | ret=1; |
---|
245 | else |
---|
246 | ret=0; |
---|
247 | fi; |
---|
248 | } |
---|
249 | |
---|
250 | detect_ldap() |
---|
251 | { |
---|
252 | TMPFILE=`mktemp` |
---|
253 | if $CC -o $TMPFILE -shared -lldap 2>/dev/null >/dev/null; then |
---|
254 | cat<<EOF>>Makefile.settings |
---|
255 | EFLAGS+=-lldap |
---|
256 | CFLAGS+= |
---|
257 | EOF |
---|
258 | ldap=1 |
---|
259 | rm -f $TMPFILE |
---|
260 | ret=1 |
---|
261 | else |
---|
262 | ldap=0 |
---|
263 | ret=0 |
---|
264 | fi |
---|
265 | } |
---|
266 | |
---|
267 | if [ "$ssl" = "auto" ]; then |
---|
268 | detect_gnutls |
---|
269 | if [ "$ret" = "0" ]; then |
---|
270 | detect_nss |
---|
271 | fi |
---|
272 | elif [ "$ssl" = "gnutls" ]; then |
---|
273 | detect_gnutls |
---|
274 | elif [ "$ssl" = "nss" ]; then |
---|
275 | detect_nss |
---|
276 | elif [ "$ssl" = "openssl" ]; then |
---|
277 | echo |
---|
278 | echo 'No detection code exists for OpenSSL. Make sure that you have a complete' |
---|
279 | echo 'install of OpenSSL (including devel/header files) before reporting' |
---|
280 | echo 'compilation problems.' |
---|
281 | echo |
---|
282 | echo 'Also, keep in mind that the OpenSSL is, according to some people, not' |
---|
283 | echo 'completely GPL-compatible. Using GnuTLS or NSS is recommended and better' |
---|
284 | echo 'supported by us. However, on many BSD machines, OpenSSL can be considered' |
---|
285 | echo 'part of the operating system, which makes it GPL-compatible.' |
---|
286 | echo |
---|
287 | echo 'For more info, see: http://www.openssl.org/support/faq.html#LEGAL2' |
---|
288 | echo ' http://www.gnome.org/~markmc/openssl-and-the-gpl.html' |
---|
289 | echo |
---|
290 | echo 'Please note that distributing a BitlBee binary which links to OpenSSL is' |
---|
291 | echo 'probably illegal. If you want to create and distribute a binary BitlBee' |
---|
292 | echo 'package, you really should use GnuTLS or NSS instead.' |
---|
293 | echo |
---|
294 | echo 'Also, the OpenSSL license requires us to say this:' |
---|
295 | echo ' * "This product includes software developed by the OpenSSL Project' |
---|
296 | echo ' * for use in the OpenSSL Toolkit. (http://www.openssl.org/)"' |
---|
297 | |
---|
298 | echo 'EFLAGS+=-lssl -lcrypto' >> Makefile.settings |
---|
299 | |
---|
300 | ret=1 |
---|
301 | elif [ "$ssl" = "bogus" ]; then |
---|
302 | echo |
---|
303 | echo 'Using bogus SSL code. This means some features will not work properly.' |
---|
304 | |
---|
305 | ## Yes, you, at the console! How can you authenticate if you don't have any SSL!? |
---|
306 | if [ "$msn" = "1" ]; then |
---|
307 | echo |
---|
308 | echo 'Real SSL support is necessary for MSN authentication, will build without' |
---|
309 | echo 'MSN protocol support.' |
---|
310 | msn=0 |
---|
311 | fi |
---|
312 | |
---|
313 | ret=1 |
---|
314 | else |
---|
315 | echo |
---|
316 | echo 'ERROR: Unknown SSL library specified.' |
---|
317 | exit 1 |
---|
318 | fi |
---|
319 | |
---|
320 | if [ "$ret" = "0" ]; then |
---|
321 | echo |
---|
322 | echo 'ERROR: Could not find a suitable SSL library (GnuTLS, libnss or OpenSSL).' |
---|
323 | echo ' Please note that this script doesn'\''t have detection code for OpenSSL,' |
---|
324 | echo ' so if you want to use that, you have to select it by hand. If you don'\''t' |
---|
325 | echo ' need SSL support, you can select the "bogus" SSL library. (--ssl=bogus)' |
---|
326 | |
---|
327 | exit 1 |
---|
328 | fi; |
---|
329 | |
---|
330 | echo 'SSL_CLIENT=ssl_'$ssl'.o' >> Makefile.settings |
---|
331 | |
---|
332 | for i in /lib /usr/lib /usr/local/lib; do |
---|
333 | if [ -e $i/libresolv.a ]; then |
---|
334 | echo '#define HAVE_RESOLV_A' >> config.h |
---|
335 | echo 'EFLAGS+='$i'/libresolv.a' >> Makefile.settings |
---|
336 | break |
---|
337 | fi |
---|
338 | done |
---|
339 | |
---|
340 | STORAGES="text xml" |
---|
341 | |
---|
342 | if [ "$ldap" = "auto" ]; then |
---|
343 | detect_ldap |
---|
344 | fi |
---|
345 | |
---|
346 | if [ "$ldap" = 0 ]; then |
---|
347 | echo "#undef WITH_LDAP" >> config.h |
---|
348 | elif [ "$ldap" = 1 ]; then |
---|
349 | echo |
---|
350 | echo 'LDAP support is a work in progress and does NOT work AT ALL right now.' |
---|
351 | echo |
---|
352 | exit 1 |
---|
353 | |
---|
354 | echo "#define WITH_LDAP 1" >> config.h |
---|
355 | STORAGES="$STORAGES ldap" |
---|
356 | fi |
---|
357 | |
---|
358 | for i in $STORAGES; do |
---|
359 | STORAGE_OBJS="$STORAGE_OBJS storage_$i.o" |
---|
360 | done |
---|
361 | echo "STORAGE_OBJS="$STORAGE_OBJS >> Makefile.settings |
---|
362 | |
---|
363 | if [ "$strip" = 0 ]; then |
---|
364 | echo "STRIP=\# skip strip" >> Makefile.settings; |
---|
365 | else |
---|
366 | if [ "$debug" = 1 ]; then |
---|
367 | echo |
---|
368 | echo 'Stripping binaries does not make sense when debugging. Stripping disabled.' |
---|
369 | echo 'STRIP=\# skip strip' >> Makefile.settings |
---|
370 | strip=0; |
---|
371 | elif [ -n "$STRIP" ]; then |
---|
372 | echo "STRIP=$STRIP" >> Makefile.settings; |
---|
373 | elif type strip > /dev/null 2> /dev/null; then |
---|
374 | echo "STRIP=strip" >> Makefile.settings; |
---|
375 | else |
---|
376 | echo |
---|
377 | echo 'No strip utility found, cannot remove unnecessary parts from executable.' |
---|
378 | echo 'STRIP=\# skip strip' >> Makefile.settings |
---|
379 | strip=0; |
---|
380 | fi; |
---|
381 | fi |
---|
382 | |
---|
383 | if [ "$gcov" = "1" ]; then |
---|
384 | echo "CFLAGS+=-ftest-coverage -fprofile-arcs" >> Makefile.settings |
---|
385 | echo "EFLAGS+=-lgcov" >> Makefile.settings |
---|
386 | fi |
---|
387 | |
---|
388 | if [ "$plugins" = 0 ]; then |
---|
389 | echo '#undef WITH_PLUGINS' >> config.h |
---|
390 | else |
---|
391 | echo '#define WITH_PLUGINS' >> config.h |
---|
392 | fi |
---|
393 | |
---|
394 | echo |
---|
395 | if [ -z "$BITLBEE_VERSION" -a -d .bzr ] && type bzr > /dev/null 2> /dev/null; then |
---|
396 | nick=`bzr nick` |
---|
397 | if [ -n "$nick" -a "$nick" != "bitlbee" ]; then |
---|
398 | nick="-$nick" |
---|
399 | else |
---|
400 | nick="" |
---|
401 | fi |
---|
402 | rev=`bzr revno` |
---|
403 | echo 'Using bzr revision #'$rev' as version number' |
---|
404 | BITLBEE_VERSION=\"bzr$nick-$rev\" |
---|
405 | fi |
---|
406 | |
---|
407 | if [ -n "$BITLBEE_VERSION" ]; then |
---|
408 | echo 'Spoofing version number: '$BITLBEE_VERSION |
---|
409 | echo '#undef BITLBEE_VERSION' >> config.h |
---|
410 | echo '#define BITLBEE_VERSION '$BITLBEE_VERSION >> config.h |
---|
411 | echo |
---|
412 | fi |
---|
413 | |
---|
414 | cat <<EOF>bitlbee.pc |
---|
415 | prefix=$prefix |
---|
416 | includedir=$includedir |
---|
417 | |
---|
418 | Name: bitlbee |
---|
419 | Description: IRC to IM gateway |
---|
420 | Requires: glib-2.0 |
---|
421 | Version: $BITLBEE_VERSION |
---|
422 | Libs: |
---|
423 | Cflags: -I\${includedir} |
---|
424 | |
---|
425 | EOF |
---|
426 | |
---|
427 | protocols='' |
---|
428 | protoobjs='' |
---|
429 | |
---|
430 | if [ "$msn" = 0 ]; then |
---|
431 | echo '#undef WITH_MSN' >> config.h |
---|
432 | else |
---|
433 | echo '#define WITH_MSN' >> config.h |
---|
434 | protocols=$protocols'msn ' |
---|
435 | protoobjs=$protoobjs'msn_mod.o ' |
---|
436 | fi |
---|
437 | |
---|
438 | if [ "$jabber" = 0 ]; then |
---|
439 | echo '#undef WITH_JABBER' >> config.h |
---|
440 | else |
---|
441 | echo '#define WITH_JABBER' >> config.h |
---|
442 | protocols=$protocols'jabber ' |
---|
443 | protoobjs=$protoobjs'jabber_mod.o ' |
---|
444 | fi |
---|
445 | |
---|
446 | if [ "$oscar" = 0 ]; then |
---|
447 | echo '#undef WITH_OSCAR' >> config.h |
---|
448 | else |
---|
449 | echo '#define WITH_OSCAR' >> config.h |
---|
450 | protocols=$protocols'oscar ' |
---|
451 | protoobjs=$protoobjs'oscar_mod.o ' |
---|
452 | fi |
---|
453 | |
---|
454 | if [ "$yahoo" = 0 ]; then |
---|
455 | echo '#undef WITH_YAHOO' >> config.h |
---|
456 | else |
---|
457 | echo '#define WITH_YAHOO' >> config.h |
---|
458 | protocols=$protocols'yahoo ' |
---|
459 | protoobjs=$protoobjs'yahoo_mod.o ' |
---|
460 | fi |
---|
461 | |
---|
462 | if [ "$protocols" = "PROTOCOLS = " ]; then |
---|
463 | echo "WARNING: You haven't selected any communication protocol to compile!" |
---|
464 | echo " BitlBee will run, but you will be unable to connect to IM servers!" |
---|
465 | fi |
---|
466 | |
---|
467 | echo "PROTOCOLS = $protocols" >> Makefile.settings |
---|
468 | echo "PROTOOBJS = $protoobjs" >> Makefile.settings |
---|
469 | |
---|
470 | echo Architecture: $arch |
---|
471 | case "$arch" in |
---|
472 | Linux ) |
---|
473 | ;; |
---|
474 | GNU/* ) |
---|
475 | ;; |
---|
476 | *BSD ) |
---|
477 | ;; |
---|
478 | Darwin ) |
---|
479 | ;; |
---|
480 | IRIX ) |
---|
481 | ;; |
---|
482 | SunOS ) |
---|
483 | echo 'EFLAGS+=-lresolv -lnsl -lsocket' >> Makefile.settings |
---|
484 | echo 'STRIP=\# skip strip' >> Makefile.settings |
---|
485 | ;; |
---|
486 | AIX ) |
---|
487 | echo 'EFLAGS+=-Wl,-brtl' >> Makefile.settings |
---|
488 | ;; |
---|
489 | CYGWIN* ) |
---|
490 | echo 'Cygwin is not officially supported.' |
---|
491 | ;; |
---|
492 | * ) |
---|
493 | echo 'We haven'\''t tested BitlBee on many platforms yet, yours is untested. YMMV.' |
---|
494 | echo 'Please report any problems at http://bugs.bitlbee.org/.' |
---|
495 | ;; |
---|
496 | esac |
---|
497 | |
---|
498 | echo |
---|
499 | echo 'Configuration done:' |
---|
500 | |
---|
501 | if [ "$debug" = "1" ]; then |
---|
502 | echo ' Debugging enabled.' |
---|
503 | else |
---|
504 | echo ' Debugging disabled.' |
---|
505 | fi |
---|
506 | |
---|
507 | if [ "$strip" = "1" ]; then |
---|
508 | echo ' Binary stripping enabled.' |
---|
509 | else |
---|
510 | echo ' Binary stripping disabled.' |
---|
511 | fi |
---|
512 | |
---|
513 | echo ' Using event handler: '$events |
---|
514 | echo ' Using SSL library: '$ssl |
---|
515 | echo ' Building with these storage backends: '$STORAGES |
---|
516 | |
---|
517 | if [ -n "$protocols" ]; then |
---|
518 | echo ' Building with these protocols:' $protocols |
---|
519 | else |
---|
520 | echo ' Building without IM-protocol support. We wish you a lot of fun...' |
---|
521 | fi |
---|