diff options
author | Robin H. Johnson <robbat2@gentoo.org> | 2004-04-24 02:13:33 +0000 |
---|---|---|
committer | Robin H. Johnson <robbat2@gentoo.org> | 2004-04-24 02:13:33 +0000 |
commit | ae391c30eb066488c7fd97f0c8b5815c40cdf801 (patch) | |
tree | 6a4d06f83f9f6cc7d0ccde5ad31ee2e2b1f6125a /net-mail/courier-imap/files | |
parent | Version bumped. (Manifest recommit) (diff) | |
download | gentoo-2-ae391c30eb066488c7fd97f0c8b5815c40cdf801.tar.gz gentoo-2-ae391c30eb066488c7fd97f0c8b5815c40cdf801.tar.bz2 gentoo-2-ae391c30eb066488c7fd97f0c8b5815c40cdf801.zip |
bug #48838, make it possible to disable fam properly, configure.in patch by <robbat2@gentoo.org>
Diffstat (limited to 'net-mail/courier-imap/files')
-rw-r--r-- | net-mail/courier-imap/files/courier-imap-3.0.2-disable-fam.diff | 57 | ||||
-rw-r--r-- | net-mail/courier-imap/files/digest-courier-imap-3.0.2-r1 | 1 |
2 files changed, 58 insertions, 0 deletions
diff --git a/net-mail/courier-imap/files/courier-imap-3.0.2-disable-fam.diff b/net-mail/courier-imap/files/courier-imap-3.0.2-disable-fam.diff new file mode 100644 index 000000000000..2508d154b10d --- /dev/null +++ b/net-mail/courier-imap/files/courier-imap-3.0.2-disable-fam.diff @@ -0,0 +1,57 @@ +diff -ur courier-imap-3.0.2.orig/maildir/configure.in courier-imap-3.0.2/maildir/configure.in +--- courier-imap-3.0.2.orig/maildir/configure.in 2004-04-23 18:58:35.000000000 -0700 ++++ courier-imap-3.0.2/maildir/configure.in 2004-04-23 18:58:40.000000000 -0700 +@@ -58,26 +58,33 @@ + AC_STRUCT_TM + + dnl Checks for library functions. +-AC_CHECK_HEADER(fam.h, :, :) +-AC_CHECK_FUNCS(symlink readlink strcasecmp utime utimes) +-AC_CHECK_LIB(fam, FAMOpen, [ +- LIBFAM=-lfam +- AC_DEFINE_UNQUOTED(HAVE_FAM,1, +- [ Whether libfam.a is available ]) +- +- AC_CHECK_HEADER(fam.h, : , [ +-AC_MSG_WARN([[The development header files and libraries for fam,]]) +-AC_MSG_WARN([[the File Alteration Monitor, are not installed.]]) +-AC_MSG_WARN([[You appear to have the FAM runtime libraries installed,]]) +-AC_MSG_WARN([[so you need to simply install the additional development]]) +-AC_MSG_WARN([[package for your operating system.]]) +-AC_MSG_ERROR([[FAM development libraries not found.]]) ] +- ) +- ]) +- +-AC_SUBST(LIBFAM) +- +-echo "$LIBFAM" >maildir.libdeps ++AC_ARG_WITH(fam, [ --with-fam Compile with FAM support], ++ fam="$withval", ++ fam="no") ++ ++if test "$fam" != "no" ++then ++ AC_CHECK_HEADER(fam.h, :, :) ++ AC_CHECK_FUNCS(symlink readlink strcasecmp utime utimes) ++ AC_CHECK_LIB(fam, FAMOpen, [ ++ LIBFAM=-lfam ++ AC_DEFINE_UNQUOTED(HAVE_FAM,1, ++ [ Whether libfam.a is available ]) ++ ++ AC_CHECK_HEADER(fam.h, : , [ ++ AC_MSG_WARN([[The development header files and libraries for fam,]]) ++ AC_MSG_WARN([[the File Alteration Monitor, are not installed.]]) ++ AC_MSG_WARN([[You appear to have the FAM runtime libraries installed,]]) ++ AC_MSG_WARN([[so you need to simply install the additional development]]) ++ AC_MSG_WARN([[package for your operating system.]]) ++ AC_MSG_ERROR([[FAM development libraries not found.]]) ] ++ ) ++ ]) ++ ++ AC_SUBST(LIBFAM) ++ ++ echo "$LIBFAM" >maildir.libdeps ++fi + + AC_CACHE_CHECK([for missing gethostname prototype],maildir_cv_SYS_GETHOSTNAME, + diff --git a/net-mail/courier-imap/files/digest-courier-imap-3.0.2-r1 b/net-mail/courier-imap/files/digest-courier-imap-3.0.2-r1 new file mode 100644 index 000000000000..2a6794a5e388 --- /dev/null +++ b/net-mail/courier-imap/files/digest-courier-imap-3.0.2-r1 @@ -0,0 +1 @@ +MD5 38d3ae003f66637be3ea12e81be4a111 courier-imap-3.0.2.tar.bz2 1585766 |