aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWilmer van der Gaast <wilmer@gaast.net>2007-08-30 23:17:51 +0100
committerWilmer van der Gaast <wilmer@gaast.net>2007-08-30 23:17:51 +0100
commit2abfbc5e9ef942937f9ef662262d00fa5e47301f (patch)
tree7e83d3a3a1ecccd1415b69c7c0e98894bc6d2c4f
parenta8a0b4cc1dafff3d822984a4329488f9aa032694 (diff)
From vmiklos: Added --plugins= option to configure script.
-rwxr-xr-xconfigure8
1 files changed, 8 insertions, 0 deletions
diff --git a/configure b/configure
index fec7544e..ca7e0268 100755
--- a/configure
+++ b/configure
@@ -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`