aboutsummaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure25
1 files changed, 16 insertions, 9 deletions
diff --git a/configure b/configure
index 65eb9e89..a87b3697 100755
--- a/configure
+++ b/configure
@@ -449,6 +449,22 @@ EOF
protocols=''
protoobjs=''
+if [ "$purple" = 0 ]; then
+ echo '#undef WITH_PURPLE' >> config.h
+else
+ echo '#define WITH_PURPLE' >> config.h
+ echo 'EFLAGS += $$(pkg-config purple --libs)' >> Makefile.settings
+ protocols=$protocols'purple '
+ protoobjs=$protoobjs'purple_mod.o '
+
+ # Having both libpurple and native IM modules in one binary may
+ # do strange things. Let's not do that.
+ msn=0
+ jabber=0
+ oscar=0
+ yahoo=0
+fi
+
if [ "$msn" = 0 ]; then
echo '#undef WITH_MSN' >> config.h
else
@@ -481,15 +497,6 @@ else
protoobjs=$protoobjs'yahoo_mod.o '
fi
-if [ "$purple" = 0 ]; then
- echo '#undef WITH_PURPLE' >> config.h
-else
- echo '#define WITH_PURPLE' >> config.h
- echo 'EFLAGS += $$(pkg-config purple --libs)' >> Makefile.settings
- protocols=$protocols'purple '
- protoobjs=$protoobjs'purple_mod.o '
-fi
-
if [ "$protocols" = "PROTOCOLS = " ]; then
echo "Warning: You haven't selected any communication protocol to compile!"
echo " BitlBee will run, but you will be unable to connect to IM servers!"