aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xconfigure40
1 files changed, 13 insertions, 27 deletions
diff --git a/configure b/configure
index aae49d61..9ac18d85 100755
--- a/configure
+++ b/configure
@@ -368,8 +368,10 @@ int main()
ns_msg nsh;
ns_rr rr;
- ns_initparse( NULL, 0, NULL );
- ns_parserr( NULL, ns_s_an, 0, NULL );
+ /* Not all platforms we want to work on have
+ ns_* routines, so use this to make sure
+ the compiler uses it.*/
+ return (int)(sizeof(nsh) + sizeof(rr));
}
'
@@ -457,33 +459,17 @@ detect_resolv_ns_static()
detect_nameser_has_ns_types()
{
- TMPFILE=$(mktemp /tmp/bitlbee-configure.XXXXXX)
- case "$arch" in
- FreeBSD )
- # In FreeBSD ns_ routines are present in libc.so
- LIBRESOLV=;;
- * )
- LIBRESOLV=-lresolv;;
- esac
- ret=1
- if detect_resolv_ns_dynamic; then
- echo "$RESOLV_NS_TYPES_TESTCODE" | $CC -o $TMPFILE -x c $LIBRESOLV - >/dev/null 2>/dev/null
- if [ "$?" = "0" ]; then
- ret=0
- fi
- elif detect_resolv_ns_static; then
- for i in $systemlibdirs; do
- if [ -f $i/libresolv.a ]; then
- echo "$RESOLV_NS_TYPES_TESTCODE" | $CC -o $TMPFILE -x c - >/dev/null 2>/dev/null
- if [ "$?" = "0" ]; then
- ret=0
- fi
- fi
- done
+ TMPFILE=$(mktemp /tmp/bitlbee-configure.XXXXXX)
+ ret=1
+ # since we aren't actually linking with ns_* routines
+ # we can just compile the test code
+ echo "$RESOLV_NS_TYPES_TESTCODE" | $CC -o $TMPFILE -x c - >/dev/null 2>/dev/null
+ if [ "$?" = "0" ]; then
+ ret=0
fi
- rm -f $TMPFILE
- return $ret
+ rm -f $TMPFILE
+ return $ret
}
if [ "$ssl" = "auto" ]; then
0.21.0.28'>hotfix/0.21.0.28 Unnamed repository; edit this file 'description' to name the repository.MimesBrønn
aboutsummaryrefslogtreecommitdiffstats
path: root/app/views/help/credits.rhtml
blob: ce7b5f12367cc8291ff89611eba9cd986a9619a3 (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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90