1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-24 21:01:20 +00:00
freebsd-ports/mail/mutt/files/patch-configure.in
Hajimu UMEMOTO b211a1e6c4 moving saslv1 includes files to make it easier to add saslv2
PR:		ports/40288
Submitted by:	Mathieu Arnold <m@absolight.net>
Approved by:	knu
2002-07-28 17:26:12 +00:00

30 lines
994 B
Plaintext

--- 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/sasl1"
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 ],