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
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
|
$NetBSD: patch-ab,v 1.7 1999/11/29 11:50:15 frueauf Exp $
--- configure.orig Mon Aug 23 14:06:36 1999
+++ configure Mon Nov 29 01:30:00 1999
@@ -4072,7 +4072,7 @@
;;
esac
else
- if test -f source/cast.c; then
+ if test -f ${srcdir}/source/cast.c; then
echo "$ac_t""yes" 1>&6
cat >> confdefs.h <<EOF
#define USE_CAST 1
@@ -4261,11 +4261,15 @@
withval="-lsocks5"
else
if test -d "$withval"; then
- if test -d "$withval/include"; then
- CFLAGS="$CFLAGS -I$withval/include"
- else
- CFLAGS="$CFLAGS -I$withval"
- fi
+#
+# On NetBSD avoid problems if the ncurses package is installed. $withval/include
+# should be after the local includes in the include path.
+#
+# if test -d "$withval/include"; then
+# CFLAGS="$CFLAGS -I$withval/include"
+# else
+# CFLAGS="$CFLAGS -I$withval"
+# fi
if test -d "$withval/lib"; then
withval="-L$withval/lib -lsocks5"
else
@@ -4280,14 +4284,14 @@
TMPLIBS="$LIBS"
LIBS="$LIBS $KERBEROS_LIBS"
cat > conftest.$ac_ext <<EOF
-#line 4284 "configure"
+#line 4288 "configure"
#include "confdefs.h"
int main() {
SOCKSconnect();
; return 0; }
EOF
-if { (eval echo configure:4291: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+if { (eval echo configure:4295: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
:
else
echo "configure: failed program was:" >&5
@@ -4308,7 +4312,7 @@
if test "x$socks" = "x"; then
echo $ac_n "checking whether to support SOCKS4""... $ac_c" 1>&6
-echo "configure:4312: checking whether to support SOCKS4" >&5
+echo "configure:4316: checking whether to support SOCKS4" >&5
# Check whether --with-socks4 or --without-socks4 was given.
if test "${with_socks4+set}" = set; then
withval="$with_socks4"
@@ -4328,14 +4332,14 @@
fi
LIBS="$withval $LIBS"
cat > conftest.$ac_ext <<EOF
-#line 4332 "configure"
+#line 4336 "configure"
#include "confdefs.h"
int main() {
Rconnect();
; return 0; }
EOF
-if { (eval echo configure:4339: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+if { (eval echo configure:4343: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
:
else
echo "configure: failed program was:" >&5
@@ -4493,7 +4497,7 @@
# Extract the first word of "$ac_prog", so it can be a program name with args.
set dummy $ac_prog; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
-echo "configure:4497: checking for $ac_word" >&5
+echo "configure:4501: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_prog_COPY_DIRECTORY'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
@@ -4528,7 +4532,7 @@
# Extract the first word of "$ac_prog", so it can be a program name with args.
set dummy $ac_prog; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
-echo "configure:4532: checking for $ac_word" >&5
+echo "configure:4536: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_prog_COPY_DIRECTORY'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
@@ -4581,7 +4585,7 @@
# Extract the first word of "$ac_prog", so it can be a program name with args.
set dummy $ac_prog; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
-echo "configure:4585: checking for $ac_word" >&5
+echo "configure:4589: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_prog_ZCAT'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
@@ -4656,7 +4660,7 @@
# Extract the first word of `sendmail', so it can be a program name with args.
set dummy sendmail; word=$2
echo $ac_n "checking for $word""... $ac_c" 1>&6
-echo "configure:4660: checking for $word" >&5
+echo "configure:4664: checking for $word" >&5
IFS="${IFS= }"; saveifs="$IFS"; IFS="${IFS}:"
for dir in $_PATH; do
test -z "$dir" && dir=.
|