Derek Smith wrote: > > I can't seem to get courier-imap to compile using vchkpw as the > authentication method. I had a similar problem a couple of days ago. It seems that my compiler (gcc 2.95.2) doesn't like the way courier-imap is including vchkpw headers. I'm not even sure if vpopmail_config's use of '#include "~vpopmail/include/config.h"' is valid C at all. The attached patch makes vpopmail_config.h a generated file using the vpopmail homedir as detected in configure. After you apply the patch, you'll need to run automake in the topsrcdir & autoconf in authlib. - cls
--- courier-imap-0.30/authlib/vpopmail_config.h.in.cls Mon Mar 20 11:45:39 2000 +++ courier-imap-0.30/authlib/vpopmail_config.h.in Mon Mar 20 11:45:50 2000 @@ -0,0 +1 @@ +#include "@vpopmail_home@/include/config.h" --- courier-imap-0.30/authlib/configure.in.cls Mon Feb 28 20:48:49 2000 +++ courier-imap-0.30/authlib/configure.in Mon Mar 20 11:46:23 2000 @@ -564,4 +564,4 @@ AC_SUBST(AUTHMODULES) AC_SUBST(LIBAUTH) -AC_OUTPUT(Makefile html2man.pl authlib.html modulelist configlist) +AC_OUTPUT(Makefile html2man.pl authlib.html modulelist configlist vpopmail_config.h)
