summaryrefslogtreecommitdiff
path: root/mail/claws-mail/files/patch-configure
blob: 4c5df65601b07a5e29e0220315274497b27b1475 (plain) (blame)
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
--- configure.orig	Sun Sep 26 03:21:32 2004
+++ configure	Sun Sep 26 03:33:17 2004
@@ -24006,9 +24006,9 @@
 localedir='${prefix}/share/locale'
 
 
-manualdir='${prefix}/${DATADIRNAME}/${PACKAGE}/manual'
+manualdir='${prefix}/${DATADIRNAME}/doc/${PACKAGE}/manual'
 
-faqdir='${prefix}/${DATADIRNAME}/${PACKAGE}/faq'
+faqdir='${prefix}/${DATADIRNAME}/doc/${PACKAGE}/faq'
 
 
 if test "x${datadir}" = 'x${prefix}/share'; then
@@ -27646,46 +27646,14 @@
         echo "$as_me:$LINENO: checking for openssl >= 0.9.7" >&5
 echo $ECHO_N "checking for openssl >= 0.9.7... $ECHO_C" >&6
 
-        if $PKG_CONFIG --exists "openssl >= 0.9.7" ; then
-            echo "$as_me:$LINENO: result: yes" >&5
-echo "${ECHO_T}yes" >&6
-            succeeded=yes
-
-            echo "$as_me:$LINENO: checking OPENSSL_CFLAGS" >&5
-echo $ECHO_N "checking OPENSSL_CFLAGS... $ECHO_C" >&6
-            OPENSSL_CFLAGS=`$PKG_CONFIG --cflags "openssl >= 0.9.7"`
-            echo "$as_me:$LINENO: result: $OPENSSL_CFLAGS" >&5
-echo "${ECHO_T}$OPENSSL_CFLAGS" >&6
-
-            echo "$as_me:$LINENO: checking OPENSSL_LIBS" >&5
-echo $ECHO_N "checking OPENSSL_LIBS... $ECHO_C" >&6
-            OPENSSL_LIBS=`$PKG_CONFIG --libs "openssl >= 0.9.7"`
-            echo "$as_me:$LINENO: result: $OPENSSL_LIBS" >&5
-echo "${ECHO_T}$OPENSSL_LIBS" >&6
-        else
-            OPENSSL_CFLAGS=""
-            OPENSSL_LIBS=""
-            ## If we have a custom action on failure, don't print errors, but
-            ## do set a variable so people can do so.
-            OPENSSL_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "openssl >= 0.9.7"`
-
-        fi
-
-
-
      else
         echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
         echo "*** See http://www.freedesktop.org/software/pkgconfig"
      fi
   fi
 
-  if test $succeeded = yes; then
-     :
-  else
-     ac_cv_enable_openssl=no
-  fi
-
 	if test x$ac_cv_enable_openssl = xyes; then
+OPENSSL_LIBS=-lssl
 
 cat >>confdefs.h <<\_ACEOF
 #define USE_OPENSSL 1