linamh/net-mail/courier-imap/files/courier-imap-3.0.8-disable-fam-configure.in.patch
geos_one 7e01892a92 add imap
git-svn-id: https://svn.disconnected-by-peer.at/svn/linamh/trunk/linamh@1183 6952d904-891a-0410-993b-d76249ca496b
2009-05-01 13:03:18 +00:00

24 lines
654 B
Diff

--- courier-imap-3.0.7-orig/maildir/configure.in 2004-06-08 15:44:23.000000000 -0700
+++ courier-imap-3.0.7/maildir/configure.in 2004-08-14 15:28:20.525714876 -0700
@@ -60,6 +60,12 @@
dnl Checks for library functions.
AC_CHECK_HEADER(fam.h, :, :)
AC_CHECK_FUNCS(symlink readlink strcasecmp utime utimes)
+AC_ARG_WITH(fam, [ --with-fam Compile with FAM support],
+ fam="$withval",
+ fam="no")
+
+if test "$fam" != "no"
+then
AC_CHECK_LIB(fam, FAMOpen, [
LIBFAM=-lfam
AC_DEFINE_UNQUOTED(HAVE_FAM,1,
@@ -74,6 +80,7 @@
AC_MSG_ERROR([[FAM development libraries not found.]]) ]
)
])
+fi
AC_SUBST(LIBFAM)