summaryrefslogtreecommitdiff
path: root/net/samba/patches/patch-at
blob: 10f66df6c50cbfd1728ecb96dd4a19cea156458c (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
$NetBSD: patch-at,v 1.2 2005/06/08 20:15:20 jlam Exp $

--- configure.orig	2005-04-14 02:23:50.000000000 -0400
+++ configure
@@ -4794,7 +4794,7 @@ cat >>confdefs.h <<\_ACEOF
 _ACEOF
 
 		;;
-	*freebsd*|*DragonFly*)
+	*freebsd*|*dragonfly*)
 
 cat >>confdefs.h <<\_ACEOF
 #define FREEBSD 1
@@ -22517,7 +22517,7 @@ cat >>confdefs.h <<\_ACEOF
 _ACEOF
 
 			;;
-		*netbsd* | *freebsd* | *DragonFly* )
+		*netbsd* | *freebsd* | *dragonfly* )
 			BLDSHARED="true"
 			LDSHFLAGS="-shared"
 			DYNEXP="-Wl,--export-dynamic"
@@ -29701,9 +29701,9 @@ LIBS="-lcrypto $KRB5_LIBS  $LIBS"
 
 
 
-        echo "$as_me:$LINENO: checking for des_set_key in -lcrypto" >&5
-echo $ECHO_N "checking for des_set_key in -lcrypto... $ECHO_C" >&6
-if test "${ac_cv_lib_ext_crypto_des_set_key+set}" = set; then
+        echo "$as_me:$LINENO: checking for EVP_des_cbc in -lcrypto" >&5
+echo $ECHO_N "checking for EVP_des_cbc in -lcrypto... $ECHO_C" >&6
+if test "${ac_cv_lib_ext_crypto_EVP_des_cbc+set}" = set; then
   echo $ECHO_N "(cached) $ECHO_C" >&6
 else
   cat >conftest.$ac_ext <<_ACEOF
@@ -29719,11 +29719,11 @@ extern "C"
 #endif
 /* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
-char des_set_key ();
+char EVP_des_cbc ();
 int
 main ()
 {
-des_set_key ();
+EVP_des_cbc ();
   ;
   return 0;
 }
@@ -29750,22 +29750,22 @@ if { (eval echo "$as_me:$LINENO: \"$ac_l
   ac_status=$?
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   (exit $ac_status); }; }; then
-  ac_cv_lib_ext_crypto_des_set_key=yes;
+  ac_cv_lib_ext_crypto_EVP_des_cbc=yes;
 		  ac_cv_lib_ext_crypto=yes
 else
   echo "$as_me: failed program was:" >&5
 sed 's/^/| /' conftest.$ac_ext >&5
 
-ac_cv_lib_ext_crypto_des_set_key=no;
+ac_cv_lib_ext_crypto_EVP_des_cbc=no;
 		  ac_cv_lib_ext_crypto=no
 fi
 rm -f conftest.err conftest.$ac_objext \
       conftest$ac_exeext conftest.$ac_ext
 
 fi
-echo "$as_me:$LINENO: result: $ac_cv_lib_ext_crypto_des_set_key" >&5
-echo "${ECHO_T}$ac_cv_lib_ext_crypto_des_set_key" >&6
-    if test $ac_cv_lib_ext_crypto_des_set_key = yes; then
+echo "$as_me:$LINENO: result: $ac_cv_lib_ext_crypto_EVP_des_cbc" >&5
+echo "${ECHO_T}$ac_cv_lib_ext_crypto_EVP_des_cbc" >&6
+    if test $ac_cv_lib_ext_crypto_EVP_des_cbc = yes; then
   cat >>confdefs.h <<_ACEOF
 #define HAVE_DES_SET_KEY 1
 _ACEOF
@@ -38099,7 +38099,7 @@ echo "${ECHO_T}no" >&6;
 	fi
 
 	;;
-	*freebsd* | *DragonFly* )
+	*freebsd* | *dragonfly* )
 		echo "$as_me:$LINENO: checking for freebsd sendfile support" >&5
 echo $ECHO_N "checking for freebsd sendfile support... $ECHO_C" >&6
 if test "${samba_cv_HAVE_SENDFILE+set}" = set; then