Thank you for your reply, Dan

> And where is the problem? E.g.
> 
> Name: @PACKAGE@
> 
This does not work. I need a name of the library that libtool produces
in the end...

> and then process the .pc.in by configure (AC_CONFIG_FILES). If you don't want 
> to
> use $PACKAGE, well then use some self-defined variable. I guess your 
> Makefiles also
> gets the library name from somewhere (e.g. configure).
> 
> However, IMO it is a stupid idea to use different names for the same library 
> on
> different platforms. It makes it hard to search for this library by a simple 
> portable
> configure script.
It is a stupid idea indeed. But that's how things are. However,
pkg-config makes it easy to search for this library portably

> 
> BTW: Your question is not related to pkg-config. Maybe you want to consult the
> autotools lists.
I actually did. This is the automake mailing list :-)

Regards, 
Matej



Reply via email to