23 lines
654 B
Diff
23 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)
|
|
|