Hello Eriberto,

* Eriberto wrote on Sun, Dec 09, 2007 at 11:03:36PM CET:
> 
> I have a program using autoconf and automake. This program puts his
> libraries in /usr/lib/kde3 and /usr/lib. But I need to put the
> libraries in /usr/lib/kde3 and /usr/lib/foo. My problem is: if I use
> --libdir=/usr/lib/foo, the KDE3 libs are put in /usr/lib/foo/kde3
> directory.

Is your package named foo?  Then I'd put something like this in
the Makefile.am files:
  pkglib_LTLIBRARIES = libfoo1.la libfoo2.la ...
  kdelibdir = $(libdir)/kde3
  kdelib_LTLIBRARIES = libkde1.la libkde2.la ...

If your package is not named foo, then I suggest using a different
prefix, e.g.:
  foolibdir = $(libdir)/foo
  foolib_LTLIBRARIES = ...

Cheers,
Ralf


_______________________________________________
Autoconf mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/autoconf

Reply via email to