On Wed, 2010-10-13 at 22:08 +0300, Eray Aslan wrote: > In other words, no moduledir output in configure --help. Looks like > dovecot.m4 is not being read. With the patch below: > > +ACLOCAL_AMFLAGS = -I . > > I get moduledir option in configure and working autoreconf.
Unfortunately ACLOCAL_AMFLAGS gives an error with the automake version in RHEL, so I can't do that. autogen.sh (which you should be using) does it by setting ACLOCAL environment.