<<< Date Index >>>     <<< Thread Index >>>

[PATCH] Fix linking for body cache without IMAP support



Hi,

I received a bug report via private mail from Goetz Haeberle <goetz.h@xxxxxx> that mutt wouldn't link with only --enable-pop passed to configure.

The problem is that I simply used $need_pop and assumed it's defined which it wasn't, actually.

The attached patch fixes it.

  bye, Rocco
--
:wq!
diff --git a/configure.in b/configure.in
index d6092ea..5493895 100644
--- a/configure.in
+++ b/configure.in
@@ -500,6 +500,7 @@ AC_ARG_ENABLE(pop,  AC_HELP_STRING([--en
 [       if test x$enableval = xyes ; then
                 AC_DEFINE(USE_POP,1,[ Define if you want support for the POP3 
protocol. ])
                 MUTT_LIB_OBJECTS="$MUTT_LIB_OBJECTS pop.o pop_lib.o pop_auth.o"
+                need_pop="yes"
                 need_socket="yes"
                 need_md5="yes"
         fi