FYI, The changes to make libtool appear as mklib have now also been committed. If you want to have support for mklib in your build tree, here's what you do: cd $objdir rm libtool $srcdir/configure --prefix=... --llvmgccdir=... After configure runs, you should have a "mklib" script in your $objdir and the Makefile.rules have been configured to use it. Reid. On Sun, 2004-09-19 at 16:52, Reid Spencer wrote:> Folks, > > ** IF YOU DON'T EVER REBUILD "configure" YOU CAN SKIP THIS ** > > I've recently committed a slew of changes in the llvm/autoconf > directory. I'll describe why below, but you need to know upfront the > impact to you. Basically, if you touch configure.ac and use AutoRegen.sh > then you MUST be using: > > autoconf 2.59 > autoheader 2.59 > libtool 1.5.10 > aclocal 1.9.1 > > The AutoRegen.sh script now checks for these explicit versions before it > allows the configure script to be regenerated. > > The basic problem is that we have our own autoconf macros that interact > with other tools. The biggest such case is libtool. The libtool.m4 file > that provides all the autoconf checks libtool needs used to be in > acinclude.m4 (which is now deprecated). When I removed acinclude.m4 a > few weeks ago, I thought I was doing a good thing by not including the > libtool macros (they get automatically included by aclocal). However, > what I didn't notice is that the libtool macros (e.g. AC_PROG_LIBTOOL > and friends) had been altered slightly: libtool's name had been changed > to mklib. This was done to avoid tab completion errors for "llvm/lib" > since libtool would also match. So, in order to restore this capability > (at Chris' request), here's what I've done: > > * copied the 1.5.10 version of libtool.m4 into the autoconf/m4 directory > and put a huge caveat at the top of it. Basically, this is a really > dumb thing to do. When libtool 1.6 comes out, these tests will be both > out of date and automatically included. Essentially, we'll break until > we replace autoconf/m4/libtool.m4 with the 1.6 version. > > * augmented the autoconf/AutoRegen.sh script to make *sure* its using > libtool 1.5.10 or else it will refuse to generate a new configure > script. This at least gets us part of the way to preventing bad things > from happening. > > FYI: tab completion is just ONE MORE reason why you shouldn't build with > $objdir == $srcdir ;> > > Reid.-------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 189 bytes Desc: This is a digitally signed message part URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20040919/9ef00e81/attachment.sig>
