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