Andreas Schulze wrote:
hello,
yesterday I tried to package dovecot-2.0beta5 + pigeonhole from
Mercurial repository. I put pigeonhole as a subdir in the dovecot
sourcetree. Following
http://hg.rename-it.nl/dovecot-2.0-pigeonhole/raw-file/tip/INSTALL I
called ./autogen.sh; ./configure --with-dovecot=..; make
In the buildprocess I saw this output ( from autogen.sh ): Putting
files in AC_CONFIG_AUX_DIR, `..'. libtoolize: `config.guess' exists:
use `--force' to overwrite libtoolize: `config.sub' exists: use
`--force' to overwrite libtoolize: `ltmain.sh' exists: use `--force'
to overwrite
I dont know *why* AC_CONFIG_AUX_DIR is .. but in .. there are the
mentioned files (from dovecot) already present. The following make
failed with less helpfull errors.
Hmm. This doesn't happen at my end, but:
http://www.gnu.org/software/hello/manual/automake/Subpackages.html
The purpose of the ‘AC_CONFIG_AUX_DIR([.])’ instruction is to force
Automake and Autoconf to search for auxiliary scripts in the current
directory. For instance, this means that there will be two copies of
install-sh: one in the top-level of the arm package, and another one
in the hand/ subdirectory for the hand package.
The historical default is to search for these auxiliary scripts in
the parent directory and the grandparent directory. So if the
‘AC_CONFIG_AUX_DIR([.])’ line was removed from hand/configure.ac,
that subpackage would share the auxiliary script of the arm package.
This may looks like a gain in size (a few kilobytes), but it is
actually a loss of modularity as the hand subpackage is no longer
self-contained (‘make dist’ in the subdirectory will not work
anymore).
This should fix it:
http://hg.rename-it.nl/dovecot-2.0-pigeonhole/rev/48798f16daaf
Regards,
Stephan.