summaryrefslogtreecommitdiff
path: root/mail/mailsync/patches/patch-ac
blob: 14a2879cf63d88d7235a3ea0f66d58610f109887 (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
$NetBSD: patch-ac,v 1.1 2004/11/16 18:56:46 adrianp Exp $

--- configure.orig	2004-06-30 09:04:12.000000000 +0100
+++ configure	2004-11-16 15:55:22.000000000 +0000
@@ -5025,7 +5025,7 @@
    if test "$withval" = "no" ; then
     OPENSSLLOCATIONS=""
    else
-    test "$withval" = "yes" || OPENSSLLOCATIONS="$withval,${OPENSSLLOCATIONS}"
+    test "$withval" = "yes" || OPENSSLLOCATIONS="@SSLBASE@/lib @SSLBASE@/include @SSLBASE@/include/openssl"
    fi
 
 
@@ -5035,7 +5035,7 @@
  else
   echo "$as_me:$LINENO: checking for libssl" >&5
 echo $ECHO_N "checking for libssl... $ECHO_C" >&6
-  for p in `eval "echo {${OPENSSLLOCATIONS}}{/lib,/lib64}"` ; do
+  for p in ${OPENSSLLOCATIONS} ; do
    if test -r "${p}/libssl.a" -o -r "${p}/libssl.so" ; then
     OPENSSL_LDFLAGS="-L${p}"
     echo "$as_me:$LINENO: result: found in ${p}" >&5
@@ -5190,7 +5190,7 @@
    else
     echo "$as_me:$LINENO: checking for openssl/ssl.h" >&5
 echo $ECHO_N "checking for openssl/ssl.h... $ECHO_C" >&6
-    for p in `eval "echo {${OPENSSLLOCATIONS}}{/include,}"` ; do
+    for p in ${OPENSSLLOCATIONS} ; do
      if test -r "${p}/openssl/ssl.h" ; then
       OPENSSL_INCLUDES="-I${p}"
       echo "$as_me:$LINENO: result: found in ${p}" >&5
@@ -5462,7 +5462,7 @@
    if test "$withval" = "no" ; then
     CCLIENTLOCATIONS=""
    else
-    test "$withval" = "yes" || CCLIENTLOCATIONS="$withval,${CCLIENTLOCATIONS}"
+    test "$withval" = "yes" || CCLIENTLOCATIONS="@BUILDLINK_DIR@/lib @BUILDLINK_DIR@/include/c-client"
    fi
 
 
@@ -5477,7 +5477,7 @@
 
          echo "$as_me:$LINENO: checking for c-client.h" >&5
 echo $ECHO_N "checking for c-client.h... $ECHO_C" >&6
-  for p in `eval "echo {${CCLIENTLOCATIONS}}{,/c-client,/lib/c-client,/include/c-client,/include,/include/imap}"` ; do
+  for p in ${CCLIENTLOCATIONS} ; do
    if test -r "${p}/c-client.h" -a -r "${p}/linkage.h" -a -r "${p}/linkage.c" ; then
     CCLIENT_INCLUDES="-I${p}"
     CCLIENT_LINKAGE_H="${p}/linkage.h"
@@ -5501,11 +5501,11 @@
 
             echo "$as_me:$LINENO: checking for c-client library" >&5
 echo $ECHO_N "checking for c-client library... $ECHO_C" >&6
-   for l in `eval "echo {${CCLIENTLOCATIONS}}{,/c-client,/lib/c-client,/lib,/lib64}/{libc-client,libc-client4,c-client}{${SOP}}"` ; do
+   for l in ${CCLIENTLOCATIONS} ; do
     if test -r "$l" ; then
      echo "$as_me:$LINENO: result: found ${l}" >&5
 echo "${ECHO_T}found ${l}" >&6
-     CCLIENT_LIBS="$l"
+     CCLIENT_LIBS="-L $l -lc-client"
      break
     fi
    done
@@ -5533,7 +5533,7 @@
 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   $EGREP "auth_gss" >/dev/null 2>&1; then
 
-      need_krb=yes
+      need_krb=no
       echo "$as_me:$LINENO: result: yes" >&5
 echo "${ECHO_T}yes" >&6