On Wed, 2005-02-23 at 22:22 +0100, Paul J Stevens wrote:
> Geo Carncross wrote:
> 
> > Some .in files were missing- Paul told me to automake -fa (after
> > aclocal;autoconf -- I'm using FC3, so I have different auto* versions)
> 
> I updated acinclude.m4 and configure.in to accomodate sqlite, but forgot to 
> commit all the generated files. Fallout from debian specific requirements in 
> my 
> build-system: inclusion of such generated autotools files consitutes a bug in 
> debian-speak.
> 
> Well, if removing the autoconf files from cvs proves to be more expensive 
> than I 
> anticipate we can always re-add them later.
> 
> But I also want to cleanup the autotools process chain a bit in order to 
> implement modular loading (dlopen) of the backend code. If autoreconf -f -i 
> doesn't provide a functional build-system for some platform and/or autotools 
> version, I'd like to hear about it rather sooner than later.

It doesn't make one for FC3 or Gentoo 1.4. automake (1.9.2) refuses to
create Makefile.in because:

Makefile.am: object `config.$(OBJEXT)' created both with libtool and
without
Makefile.am: object `debug.$(OBJEXT)' created both with libtool and
without
(this goes on for a while)

The right thing to do is to stop listing source files in libraries AND
programs. The supplied patch will do that. It should work in automake
earlier than the 1.6 tree -- I tested it with Debian Woody (automake
1.4-p4) -- I don't have pkg-config or anything useful to run the
configure script -- hopefully someone else can try that.

-- 
Internet Connection High Quality Web Hosting
http://www.internetconnection.net/
diff -u -r1.33 Makefile.am
--- Makefile.am	2005/02/18 09:02:33	1.33
+++ Makefile.am	2005/02/23 21:43:07
@@ -69,25 +69,25 @@
 TESTS=check_dbmail_common check_dbmail_server check_dbmail_deliver check_dbmail_imapd check_dbmail_message
 noinst_PROGRAMS=$(TESTS)
 
-check_dbmail_common_SOURCES=$(COMMON) check_dbmail_common.c
-check_dbmail_common_LDADD=$(dbmail_users_LDADD) @CHECK_LIBS@
+check_dbmail_common_SOURCES=check_dbmail_common.c
[EMAIL PROTECTED]@ libdbmail.la
 [EMAIL PROTECTED]@
 
-check_dbmail_server_SOURCES=$(COMMON) $(SERVER) check_dbmail_server.c
-check_dbmail_server_LDADD=$(dbmail_users_LDADD) @CHECK_LIBS@
+check_dbmail_server_SOURCES=check_dbmail_server.c
[EMAIL PROTECTED]@ libdbmail.la
 [EMAIL PROTECTED]@
 
-check_dbmail_deliver_SOURCES=$(COMMON) $(DELIVER) check_dbmail_deliver.c
-check_dbmail_deliver_LDADD=$(dbmail_users_LDADD) @CHECK_LIBS@
+check_dbmail_deliver_SOURCES=check_dbmail_deliver.c
[EMAIL PROTECTED]@ libdbmail.la
 [EMAIL PROTECTED]@
 
-check_dbmail_message_SOURCES=$(COMMON) $(DELIVER) check_dbmail_message.c
-check_dbmail_message_LDADD=$(dbmail_users_LDADD) @CHECK_LIBS@
+check_dbmail_message_SOURCES=check_dbmail_message.c
[EMAIL PROTECTED]@ libdbmail.la
 [EMAIL PROTECTED]@
 
-check_dbmail_imapd_SOURCES=$(COMMON) $(SERVER) quota.c imap4.c imaputil.c imapcommands.c memblock.c rfcmsg.c dbsearch.c dbmsgbuf.c acl.c dbmail-imapsession.c check_dbmail_imapd.c
-check_dbmail_imapd_LDADD=$(dbmail_imapd_LDADD) @CHECK_LIBS@
-check_dbmail_imapd_INCLUDES= @CHECK_CFLAGS@
+check_dbmail_imapd_SOURCES=quota.c imap4.c imaputil.c imapcommands.c memblock.c rfcmsg.c dbsearch.c dbmsgbuf.c acl.c dbmail-imapsession.c check_dbmail_imapd.c
[EMAIL PROTECTED]@ libdbmail.la
[EMAIL PROTECTED]@
 
 endif
 

Reply via email to