On Apr 22, 2001, Havoc Pennington <[EMAIL PROTECTED]> wrote:
> pkg-config has some intelligence, i.e. if you request two libs at once
> it will nuke duplicate flags and order the -l flags properly.
Err... It won't always remove duplicate -l flags, will it? This
isn't always correct.
> Also, it can gripe about missing dependencies or conflicting
> libraries.
Good.
> I think for libtool it's as simple as having a concept of a "package"
> in addition to a concept of a library, so we can pass "gtk+-2.0" to
> libtool instead of "-L/home/hp/unst/lib -L/usr/X11R6/lib -lgtk-x11-1.3
> -lgdk-x11-1.3 -lXext -lgdk_pixbuf-1.3 -lm -lpangox -lX11 -lpango
> -lgobject-1.3 -lgmodule-1.3 -ldl -lglib-1.3"
Well, you can already create a dummy libtool library that will be
replaced with all of this when it's linked in. In fact,
gtk-x11-1.3.la may be that (no longer dummy) library.
> Then the remaining thing to add is the RPM-style version comparisons,
> which is beyond my ability to implement in shell, but I'm sure someone
> can figure it out. ;-)
In shell? I was hoping pkg-config could be implemented in something
more reasonable...
--
Alexandre Oliva Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer aoliva@{cygnus.com, redhat.com}
CS PhD student at IC-Unicamp oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist *Please* write to mailing lists, not to me
_______________________________________________
Libtool mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/libtool