Matti, it seems that your variant of autoconf'ing maillock does not do the right thing. With --without-maillock specified, first unconditional invocation of AC_FUNC_SVR4_MAILLOCK causes HAVE_MAILLOCK to be defined anyway, which is not what we want. I think that there should be no AC_FUNC_SVR4_MAILLOCK outside of AC_ARG_WITH. Am I missing something? Eugene