diff options
Diffstat (limited to 'configure')
| -rwxr-xr-x | configure | 25 | 
1 files changed, 16 insertions, 9 deletions
| @@ -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!" | 
