[tpop3d-discuss] autoconf / automake support in CVS
Mark Longair
mhl at pobox.com
Fri, 13 Apr 2001 20:29:34 +0100 (BST)
This probably needs a few explanatory notes, since the one thing I
haven't done is to document what I've done. : )
I moved the old Makefile to Makefile.original; I was intending to fold
the documentation from there into a description of the equivalent
options that you get from the configure script, but I'm getting a bit
bored of this now.
Basically, bootstrap regenerates the various files automake and autoconf
need - you should run it initially to create the configure script, and
again if you change Makefile.am or configure.in
Anyway, it all Works For Me, though I haven't tried it on any non Debian
systems yet - I'd be interested in the results. I tried to just
duplicate everything from the old Makefile, which means that there are
some anomalies - e.g. I'm not sure that the option --with-mysql-root is
in the usual autoconf spirit.
These are the new options (I'm guessing you may want to change the
defaults):
--enable and --with options recognized:
--enable-electric-fence Enable Electric Fence support [default=no]
--enable-flock-locking Enable flock(2) locking [default=no]
--enable-fcntl-locking Enable fcntl(2) locking [default=yes]
--enable-dotfile-locking
Enable dotfile locking [default=yes]
--enable-cclient-locking
Enable C-Client locking [default=yes]
--enable-backtrace
Enable backtrace(3) reporting in the case of
crashes. [default=no]
--enable-ignore-cclient-metadata
Ignore C-Client metadata [default=yes]
--with-authentication=TYPE
Set the type of authentication used. TYPE
can be passwd, shadow, pam or mysql
[default=pam]
--disable-snide-comments
Use less snide responses
--with-mailspool-directory=DIR
Set the mailspool directory.
[default=/var/spool/mail]
--with-mysql-root=DIR Set root of MySQL distribution. Should contain
include/mysql/mysql.h and
lib/mysql/libmysqlclient.so [default=/usr]
The version number is now defined in Makefile.am...
Also, I've tried to make sure that make dist produces tarballs which can
be built in the normal way... Again, that could do with some testing.
cheers
mark
--
`I hope you noticed that was very rock and roll. Someone's going to
have to clear that up, you know.'
-- Steve Malkmus, accidentally knocking over a bottle of water.