diff --git a/configure b/configure index 0b8a803..ab9506b 100755 --- a/configure +++ b/configure @@ -46,6 +46,7 @@ GLIB_MIN_VERSION=2.4 echo BitlBee configure +arglist=$@ while [ -n "$1" ]; do e="`expr "X$1" : 'X--\(.*=.*\)'`" if [ -z "$e" ]; then @@ -600,6 +601,19 @@ EOF jabber=0 oscar=0 yahoo=0 + + # Unless it's requested in the commandline. + set x $arglist; shift + while [ -n "$1" ] + do + e="`expr "X$1" : 'X--\(.*=.*\)'`" + case "$e" in + msn=*|jabber=*|oscar=*|yahoo=*) + eval "$e" + ;; + esac + shift + done if [ "$events" = "libevent" ]; then echo 'Warning: Some libpurple modules (including msn-pecan) do their event handling'