Hi, On Mon, Jun 27, 2011 at 12:34:44PM +0200, Alon Levy wrote: > Also add --pkgconfigdir and --includedir configure parameters. > --- > configure | 10 ++++++++++ > libcacard/Makefile | 25 ++++++++++++++++++++++--- > libcacard/libcacard.pc.in | 13 +++++++++++++ > 3 files changed, 45 insertions(+), 3 deletions(-) > create mode 100644 libcacard/libcacard.pc.in > > diff --git a/configure b/configure > index e523976..d08818f 100755 > --- a/configure > +++ b/configure > @@ -146,6 +146,8 @@ datadir="\${prefix}/share/qemu" > docdir="\${prefix}/share/doc/qemu" > bindir="\${prefix}/bin" > libdir="\${prefix}/lib" > +pkgconfigdir="\${prefix}/lib/pkgconfig"
It would be more convenient if it was \${libdir}/pkgconfig and if it was assigned a default value after --libdir has been parsed, though that would look a bit out of place compared to how other values are set. Christophe
pgpnCtuhP8i6i.pgp
Description: PGP signature