Subject: Re: ltconfig [was Re: CVS commit: pkgsrc/graphics/imlib]
To: Nick Hudson <skrll@netbsd.org>
From: Dr. Rene Hexel <rh@vip.at>
List: tech-pkg
Date: 08/14/2001 07:00:53
Nick Hudson wrote:

> > XXX: in the long run, the buildlink autoconf macros probably need to be
> >      updated and fixed to prevent similar problems in other packages.
> 
> ltconfig has disappeared from libtool. LIBTOOL_OVERRIDE was resurrected
> to cope with this situation.

  Our libtool package still has it (which is good, otherwise we'd break
all the LTCONFIG_OVERRIDE's out there ;-)

> Its not autoconf's fault. :)

  Well, I don't know who's fault it is (and it doesn't really matter),
but AFAICT, the problem we currently have is this:

  Newer software that uses GNU configure and libtool no longer uses
"ltconfig" to configure libtool.  LIBTOOL_OVERRIDE is fine in this case
to generate the appropriate link to our libtool.

  If, however, we use our own autoconf (e.g. for buildlink) to
re-generate the configure script from "configure.in", the requirement
for "ltconfig" suddenly reappears.  In this case, LIBTOOL_OVERRIDE no
longer helps, because the configure script exists complaining about a
missing "ltconfig".

  That's what broke imlib and that's what's going to break any other
updated software that uses the new
libtool/autoconf/whatever_there_is_to_blame.

  Cheers
      ,
   Rene