This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Updating libtool in GCC and srctree


On Fri, Mar 09, 2007 at 03:58:40PM -0800, Steve Ellcey wrote:
> I am having more trouble with the GCC tree.  I put the new libtool in
> the toplevel directory, just like I did in the binutils src tree and
> then I went to the boehm-gc (and libffi) directories to try and rerun
> autoconf.  If I just run autoconf I get errors because I am not
> including the new ltoptions.m4, ltsugar.m4, and ltversion.m4 files.  Now
> in the binutils tree the acinclude.m4 files had explicit includes of
> libtool.m4 and I added includes of ltoptions.m4, ltsugar.m4, and
> ltversion.m4.  But boehm-gc has no acinclude.m4 file and while libffi
> has an acinclude.m4 file, it doesn't have an include of libtool.m4.  So
> my question is, how is the include of libtool.m4 getting into
> aclocal.m4?  Is it by running aclocal?  I tried to run aclocal but I get
> errors when I run it:
> 
> $ aclocal
> autom4te: unknown language: Autoconf-without-aclocal-m4
> aclocal: autom4te failed with exit status: 1
> 
> This is aclocal 1.9.6.  Any idea on what I need to do here to fix this
> error?  Why do some acinclude.m4 files have explicit includes for
> libtool files (libgfortran, libgomp, etc) but other's don't (libffi,
> gcc).

I just pulled HEAD and if you look at the tail end of
boehm-gc/aclocal.m4, you'll find:
  m4_include([../config/acx.m4])
  m4_include([../config/depstand.m4])
  m4_include([../config/lead-dot.m4])
  m4_include([../config/multi.m4])
  m4_include([../config/no-executables.m4])
  m4_include([../libtool.m4])

So, you need to run aclocal with:
  $ aclocal -I ../config -I ..

-- 
albert chin (china@thewrittenword.com)


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]