# HG changeset patch # User Frank Zschockelt # Date 1454621498 -3600 # Node ID a4fe802b8f5c33f7b3257e607e293a5b420d6cd1 # Parent e7e6fc88e6b8c8a9cf8b7f022f6f71ed25d17337 Add --with-pkgconfigdir ./configure option diff -r e7e6fc88e6b8 -r a4fe802b8f5c Makefile.am --- a/Makefile.am Thu Feb 04 21:08:07 2016 +0100 +++ b/Makefile.am Thu Feb 04 22:31:38 2016 +0100 @@ -9,7 +9,6 @@ loudmouth-1.0.pc.in \ README.WIN32 -pkgconfigdir = $(libdir)/pkgconfig pkgconfig_DATA = loudmouth-1.0.pc DISTCHECK_CONFIGURE_FLAGS = \ diff -r e7e6fc88e6b8 -r a4fe802b8f5c configure.ac --- a/configure.ac Thu Feb 04 21:08:07 2016 +0100 +++ b/configure.ac Thu Feb 04 22:31:38 2016 +0100 @@ -91,6 +91,9 @@ LM_CHECK_TIMEZONE +dnl Query for installation path of *.pc files, available with pkg-config>=0.27 +m4_ifdef([PKG_INSTALLDIR], [PKG_INSTALLDIR]) + PKG_CHECK_MODULES(LOUDMOUTH, glib-2.0 >= $GLIB2_REQUIRED gobject-2.0 >= $GLIB2_REQUIRED)