summaryrefslogtreecommitdiff
path: root/mail/mutt/files/patch-configure.in
blob: 88e89b063d730406d387d194468d220389071e6b (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
--- configure.in.orig	Fri Jun 21 14:52:03 2002
+++ configure.in	Fri Jun 21 14:54:07 2002
@@ -515,7 +515,7 @@
            AC_MSG_ERROR([SSL support is only useful with POP or IMAP support])
           fi
 
-          if test "$with_ssl" != "yes"
+          if test "$with_ssl" != "yes" && x$withval != x/usr
           then
            LDFLAGS="$LDFLAGS -L$withval/lib"
            CPPFLAGS="$CPPFLAGS -I$withval/include"
@@ -572,7 +572,7 @@
         then
           if test "$with_sasl" != "yes"
           then
-            CPPFLAGS="$CPPFLAGS -I$with_sasl/include"
+            CPPFLAGS="$CPPFLAGS -I$with_sasl/include/sasl"
             LDFLAGS="$LDFLAGS -L$with_sasl/lib"
           fi
 
@@ -609,6 +609,8 @@
         [if test $enableval = yes; then
                 AC_DEFINE(USE_FLOCK,1, [ Define to use flock() to lock mailboxes. ])
         fi])
+
+MUTTLIBS="$MUTTLIBS -lxpg4"
 
 mutt_cv_fcntl=yes
 AC_ARG_ENABLE(fcntl, [  --disable-fcntl            Do NOT use fcntl() to lock files ],