Line 0
Link Here
|
|
|
1 |
--- configure.orig 2003-04-11 05:09:04.000000000 +0400 |
2 |
+++ configure 2009-11-04 07:09:50.000000000 +0300 |
3 |
@@ -11830,100 +11830,27 @@ |
4 |
echo $ECHO_N "checking whether to enable IPv6 support... $ECHO_C" >&6 |
5 |
# Check whether --enable-ipv6 or --disable-ipv6 was given. |
6 |
if test "${enable_ipv6+set}" = set; then |
7 |
- enableval="$enable_ipv6" |
8 |
- case "$enableval" in |
9 |
+ enableval=$enable_ipv6; case "$enableval" in |
10 |
yes) |
11 |
- case "$(uname -s)" in |
12 |
- Linux) |
13 |
- if test -d "/usr/inet6/include"; then |
14 |
- CFLAGS="$CFLAGS -I/usr/inet6/include" |
15 |
- LIBS="-L/usr/inet6/lib -linet6 $LIBS" |
16 |
- echo "$as_me:$LINENO: result: yes (libinet6)" >&5 |
17 |
-echo "${ECHO_T}yes (libinet6)" >&6 |
18 |
+ { $as_echo "$as_me:$LINENO: result: yes (notchecked)" >&5 |
19 |
+$as_echo "yes (notchecked)" >&6; } |
20 |
|
21 |
cat >>confdefs.h <<\_ACEOF |
22 |
#define IPV6 1 |
23 |
_ACEOF |
24 |
|
25 |
- else |
26 |
- if test -d "/usr/local/v6/lib"; then |
27 |
- LIBS="-L/usr/local/v6/lib -linet6 $LIBS" |
28 |
- echo "$as_me:$LINENO: result: yes (freebsd+kame)" >&5 |
29 |
-echo "${ECHO_T}yes (freebsd+kame)" >&6 |
30 |
- |
31 |
-cat >>confdefs.h <<\_ACEOF |
32 |
-#define IPV6 1 |
33 |
-_ACEOF |
34 |
- |
35 |
- else |
36 |
- if test "$cross_compiling" = yes; then |
37 |
- { echo "$as_me:$LINENO: WARNING: cross-compiling: assuming no ipv6" >&5 |
38 |
-echo "$as_me: WARNING: cross-compiling: assuming no ipv6" >&2;} |
39 |
+ ;; |
40 |
+ *) |
41 |
+ { $as_echo "$as_me:$LINENO: result: no" >&5 |
42 |
+$as_echo "no" >&6; } |
43 |
+ ;; |
44 |
+ esac |
45 |
else |
46 |
- cat >conftest.$ac_ext <<_ACEOF |
47 |
-#line $LINENO "configure" |
48 |
-#include "confdefs.h" |
49 |
- |
50 |
- int main() |
51 |
- { |
52 |
- #if !defined(__GLIBC__) || (__GLIBC__ < 2) |
53 |
- #define NO_GLIBC_2 1 |
54 |
- #endif |
55 |
- |
56 |
- if (NO_GLIBC_2) |
57 |
- exit(0); |
58 |
- else |
59 |
- exit(1); |
60 |
- } |
61 |
-_ACEOF |
62 |
-rm -f conftest$ac_exeext |
63 |
-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
64 |
- (eval $ac_link) 2>&5 |
65 |
- ac_status=$? |
66 |
- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
67 |
- (exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
68 |
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
69 |
- (eval $ac_try) 2>&5 |
70 |
- ac_status=$? |
71 |
- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
72 |
- (exit $ac_status); }; }; then |
73 |
- echo "$as_me:$LINENO: result: yes (glibc2)" >&5 |
74 |
-echo "${ECHO_T}yes (glibc2)" >&6 |
75 |
+ { $as_echo "$as_me:$LINENO: result: no" >&5 |
76 |
+$as_echo "no" >&6; } |
77 |
|
78 |
-cat >>confdefs.h <<\_ACEOF |
79 |
-#define IPV6 1 |
80 |
-_ACEOF |
81 |
- |
82 |
- |
83 |
-else |
84 |
- echo "$as_me: program exited with status $ac_status" >&5 |
85 |
-echo "$as_me: failed program was:" >&5 |
86 |
-cat conftest.$ac_ext >&5 |
87 |
-( exit $ac_status ) |
88 |
-echo "$as_me:$LINENO: result: no" >&5 |
89 |
-echo "${ECHO_T}no" >&6 |
90 |
-fi |
91 |
-rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
92 |
fi |
93 |
- fi |
94 |
- fi |
95 |
- ;; |
96 |
- *) |
97 |
- echo "$as_me:$LINENO: result: no (ipv6 support can currently be enabled on Linux only)" >&5 |
98 |
-echo "${ECHO_T}no (ipv6 support can currently be enabled on Linux only)" >&6 |
99 |
- ;; |
100 |
- esac |
101 |
- ;; |
102 |
- no) |
103 |
- echo "$as_me:$LINENO: result: no" >&5 |
104 |
-echo "${ECHO_T}no" >&6 |
105 |
- ;; |
106 |
- esac |
107 |
-else |
108 |
- echo "$as_me:$LINENO: result: no" >&5 |
109 |
-echo "${ECHO_T}no" >&6 |
110 |
|
111 |
-fi; |
112 |
|
113 |
echo "$as_me:$LINENO: checking whether to enable SOCKS support" >&5 |
114 |
echo $ECHO_N "checking whether to enable SOCKS support... $ECHO_C" >&6 |
115 |
@@ -12609,7 +12536,7 @@ |
116 |
system="unknown" |
117 |
else |
118 |
if test -r "/etc/.relid" -a x"`uname -n`" = x"`uname -s`"; then |
119 |
- system="MP-RAS-`$AWK '{print }' /etc/.relid'`" |
120 |
+ system="MP-RAS-`$AWK '{print $3}' /etc/.relid`" |
121 |
fi |
122 |
fi |
123 |
fi |
124 |
@@ -13877,7 +13804,7 @@ |
125 |
system="unknown" |
126 |
else |
127 |
if test -r "/etc/.relid" -a x"`uname -n`" = x"`uname -s`"; then |
128 |
- system="MP-RAS-`$AWK '{print }' /etc/.relid'`" |
129 |
+ system="MP-RAS-`$AWK '{print $3}' /etc/.relid`" |
130 |
fi |
131 |
fi |
132 |
fi |