blob: 87d3e4b88e46ac4d8466b703f5a91cb86ca031b2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
|
$NetBSD: patch-aa,v 1.3 2004/12/27 23:35:41 xtraeme Exp $
--- configure.orig 2004-12-28 00:04:47.000000000 +0100
+++ configure 2004-12-28 00:08:13.000000000 +0100
@@ -14,6 +14,8 @@
datadir='$prefix/share/bitlbee/'
config='/var/lib/bitlbee/'
+ipv6=0
+
msn=1
jabber=1
oscar=1
@@ -45,6 +47,7 @@
--datadir=... $datadir
--config=... $config
+--ipv6=0/1 Disable/enable IPv6 support $ipv6
--msn=0/1 Disable/enable MSN part $msn
--jabber=0/1 Disable/enable Jabber part $jabber
--oscar=0/1 Disable/enable Oscar part (ICQ, AIM) $oscar
@@ -100,9 +103,13 @@
#define DATADIR "$datadir"
#define ARCH "$arch"
#define CPU "$cpu"
-#define IPV6
EOF
+if [ "$ipv6" = "1" ]; then
+ echo "#define IPV6" >> config.h
+ echo "CPPFLAGS+=-DIPV6" >> Makefile.settings
+fi
+
if [ "$debug" = "1" ]; then
echo 'CFLAGS=-g' >> Makefile.settings
echo 'DEBUG=1' >> Makefile.settings
@@ -383,3 +390,9 @@
else
echo ' Building without IM-protocol support. We wish you a lot of fun...';
fi
+
+if [ "$ipv6" = "1" ]; then
+ echo ' Building with IPv6 support.'
+else
+ echo ' Building without IPv6 support.'
+fi
|