Added
Link Here
|
1 |
--- configure.orig |
2 |
+++ configure |
3 |
@@ -18485,13 +18485,13 @@ |
4 |
|
5 |
if test "$socks" = yes; then |
6 |
socks=no |
7 |
- { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SOCKSconnect in -lsocks5" >&5 |
8 |
-$as_echo_n "checking for SOCKSconnect in -lsocks5... " >&6; } |
9 |
-if test "${ac_cv_lib_socks5_SOCKSconnect+set}" = set; then : |
10 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Rconnect in -lsocks" >&5 |
11 |
+$as_echo_n "checking for Rconnect in -lsocks... " >&6; } |
12 |
+if test "${ac_cv_lib_socks_Rconnect+set}" = set; then : |
13 |
$as_echo_n "(cached) " >&6 |
14 |
else |
15 |
ac_check_lib_save_LIBS=$LIBS |
16 |
-LIBS="-lsocks5 $LIBS" |
17 |
+LIBS="-lsocks $LIBS" |
18 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
19 |
/* end confdefs.h. */ |
20 |
|
21 |
@@ -18501,27 +18501,27 @@ |
22 |
#ifdef __cplusplus |
23 |
extern "C" |
24 |
#endif |
25 |
-char SOCKSconnect (); |
26 |
+char Rconnect (); |
27 |
int |
28 |
main () |
29 |
{ |
30 |
-return SOCKSconnect (); |
31 |
+return Rconnect (); |
32 |
; |
33 |
return 0; |
34 |
} |
35 |
_ACEOF |
36 |
if ac_fn_c_try_link "$LINENO"; then : |
37 |
- ac_cv_lib_socks5_SOCKSconnect=yes |
38 |
+ ac_cv_lib_socks_Rconnect=yes |
39 |
else |
40 |
- ac_cv_lib_socks5_SOCKSconnect=no |
41 |
+ ac_cv_lib_socks_Rconnect=no |
42 |
fi |
43 |
rm -f core conftest.err conftest.$ac_objext \ |
44 |
conftest$ac_exeext conftest.$ac_ext |
45 |
LIBS=$ac_check_lib_save_LIBS |
46 |
fi |
47 |
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socks5_SOCKSconnect" >&5 |
48 |
-$as_echo "$ac_cv_lib_socks5_SOCKSconnect" >&6; } |
49 |
-if test "x$ac_cv_lib_socks5_SOCKSconnect" = x""yes; then : |
50 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socks_Rconnect" >&5 |
51 |
+$as_echo "$ac_cv_lib_socks_Rconnect" >&6; } |
52 |
+if test "x$ac_cv_lib_socks_Rconnect" = x""yes; then : |
53 |
have_socks=yes |
54 |
fi |
55 |
|
56 |
@@ -18542,7 +18542,7 @@ |
57 |
socks=yes |
58 |
$as_echo "#define SOCKS 1" >>confdefs.h |
59 |
|
60 |
- LIBS="$LIBS -lsocks5" |
61 |
+ LIBS="$LIBS -lsocks" |
62 |
fi |
63 |
fi |
64 |
fi |