Hello, I have no autotools knowledge but I had to remove square brackets in configure.in shipped with dovecot AC_CONFIG_HEADERS([config.h]) and dovecot-sieve AC_CONFIG_HEADERS([dsieve-config.h]) to be able to build them. thanks
On Thu, 2006-08-03 at 00:17 +0200, Luca Corti wrote:> Hello, > > I have no autotools knowledge but I had to remove square brackets in > configure.in shipped with dovecot > > AC_CONFIG_HEADERS([config.h]) > > and dovecot-sieve > > AC_CONFIG_HEADERS([dsieve-config.h]) > > to be able to build them.If you build from tarballs you shouldn't need to use autotools, but your problem most likely is that you just have too old autoconf or automake version. Unless those autopeople have yet again changed something and you have too new version... -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 191 bytes Desc: This is a digitally signed message part URL: <http://dovecot.org/pipermail/dovecot/attachments/20060803/1ae222c1/attachment.bin>
On Thu, Aug 03, 2006 at 01:43:11AM +0300, Timo Sirainen wrote:> On Thu, 2006-08-03 at 00:17 +0200, Luca Corti wrote: > > Hello, > > > > I have no autotools knowledge but I had to remove square brackets in > > configure.in shipped with dovecot > > > > AC_CONFIG_HEADERS([config.h]) > > > > and dovecot-sieve > > > > AC_CONFIG_HEADERS([dsieve-config.h]) > > > > to be able to build them. > > If you build from tarballs you shouldn't need to use autotools, but your > problem most likely is that you just have too old autoconf or automake > version. > > Unless those autopeople have yet again changed something and you have > too new version...For some reason I've used spaces in that macro (but nowhere else), but I've long ago forgotten why. e.g. instead of AC_CONFIG_HEADERS([xx]) it's AC_CONFIG_HEADERS( [xx] ) This may be just a quirk of the way I typed it, but it's oddly coicidental. I wouldn't think that it should really make a difference. OTOH, I don't use those at all at this point, using instead the automake equivalent (also with spaces, probably because of search/replace): AM_CONFIG_HEADER( [xx] ) mm (Not that I'm an autoconf expert, but why let that stop me)
On Thu, 2006-08-03 at 01:43 +0300, Timo Sirainen wrote:> If you build from tarballs you shouldn't need to use autotools, but your > problem most likely is that you just have too old autoconf or automake > version.I build from CVS.> Unless those autopeople have yet again changed something and you have > too new version...It seems 1.4 is too old. 1.9 is fine. thanks