diff options
author | Wilmer van der Gaast <wilmer@gaast.net> | 2007-08-30 23:17:51 +0100 |
---|---|---|
committer | Wilmer van der Gaast <wilmer@gaast.net> | 2007-08-30 23:17:51 +0100 |
commit | 2abfbc5e9ef942937f9ef662262d00fa5e47301f (patch) | |
tree | 7e83d3a3a1ecccd1415b69c7c0e98894bc6d2c4f | |
parent | a8a0b4cc1dafff3d822984a4329488f9aa032694 (diff) |
From vmiklos: Added --plugins= option to configure script.
-rwxr-xr-x | configure | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -28,6 +28,7 @@ yahoo=1 debug=0 strip=1 gcov=0 +plugins=1 ipv6=1 events=glib @@ -68,6 +69,7 @@ Option Description Default --debug=0/1 Disable/enable debugging $debug --strip=0/1 Disable/enable binary stripping $strip --gcov=0/1 Disable/enable test coverage reporting $gcov +--plugins=0/1 Disable/enable plugins support $plugins --ipv6=0/1 IPv6 socket support $ipv6 @@ -382,6 +384,12 @@ if [ "$gcov" = "1" ]; then echo "EFLAGS+=-lgcov" >> Makefile.settings fi +if [ "$plugins" = 0 ]; then + echo '#undef WITH_PLUGINS' >> config.h +else + echo '#define WITH_PLUGINS' >> config.h +fi + echo if [ -z "$BITLBEE_VERSION" -a -d .bzr ] && type bzr > /dev/null 2> /dev/null; then nick=`bzr nick` |