blob: 726b26c08454457d3f711affe7fb0b640bb5b96d (
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.5 2005/08/29 13:34:36 tonio Exp $
--- configure.orig 2005-04-29 21:47:15.000000000 +0200
+++ configure 2005-04-29 21:49:41.000000000 +0200
@@ -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 VARDIR "$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
@@ -389,3 +396,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
|