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
|
$NetBSD: patch-aa,v 1.16 2001/08/17 19:49:09 kim Exp $
--- configure.orig Sun Jun 17 07:09:50 2001
+++ configure Fri Aug 17 22:06:47 2001
@@ -1796,7 +1796,7 @@
;;
*-*-netbsd*)
- need_dash_r=1
+ #need_dash_r=1 # buildlink.mk
;;
*-*-freebsd*)
check_for_libcrypt_later=1
@@ -1828,7 +1828,7 @@
*-*-solaris*)
CPPFLAGS="$CPPFLAGS -I/usr/local/include"
LDFLAGS="$LDFLAGS -L/usr/local/lib -R/usr/local/lib"
- need_dash_r=1
+ #need_dash_r=1 # buildlink.mk
cat >> confdefs.h <<\EOF
#define PAM_SUN_CODEBASE 1
EOF
@@ -3160,6 +3160,7 @@
# Check whether user wants TCP wrappers support
TCPW_MSG="no"
+TCPW_LIB=""
# Check whether --with-tcp-wrappers or --without-tcp-wrappers was given.
if test "${with_tcp_wrappers+set}" = set; then
withval="$with_tcp_wrappers"
@@ -3173,6 +3174,8 @@
#line 3174 "configure"
#include "confdefs.h"
+#include <sys/cdefs.h>
+#include <stdio.h>
#include <tcpd.h>
int deny_severity = 0, allow_severity = 0;
@@ -3189,6 +3192,7 @@
EOF
TCPW_MSG="yes"
+ TCPW_LIB="-lwrap"
else
echo "configure: failed program was:" >&5
@@ -3200,6 +3204,7 @@
fi
rm -f conftest*
+ LIBS="$saved_LIBS"
fi
@@ -8881,6 +8886,7 @@
s%@TEST_MINUS_S_SH@%$TEST_MINUS_S_SH%g
s%@LOGIN_PROGRAM_FALLBACK@%$LOGIN_PROGRAM_FALLBACK%g
s%@LD@%$LD%g
+s%@TCPW_LIB@%$TCPW_LIB%g
s%@NO_SFTP@%$NO_SFTP%g
s%@rsh_path@%$rsh_path%g
s%@xauth_path@%$xauth_path%g
|