summaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authorKarel Zak2019-05-14 13:50:59 +0200
committerKarel Zak2019-05-14 13:50:59 +0200
commit99f95a1ea9c86b8f0d99355a97c289dc4756a44b (patch)
treee94f3f814b5d4ce62571e1f8f6ad6771044ff94d /configure.ac
parentlibblkid: Set BLKID_BID_FL_VERIFIED in case revalidation is not needed (diff)
downloadkernel-qcow2-util-linux-99f95a1ea9c86b8f0d99355a97c289dc4756a44b.tar.gz
kernel-qcow2-util-linux-99f95a1ea9c86b8f0d99355a97c289dc4756a44b.tar.xz
kernel-qcow2-util-linux-99f95a1ea9c86b8f0d99355a97c289dc4756a44b.zip
build-sys: add --with-pkgconfigdir
It seems we need a way how to override the default pkg-config install directory. default: $ ./configure $ grep 'pkgconfigdir =' Makefile pkgconfigdir = ${usrlib_execdir}/pkgconfig user-defined: $ ./configure --with-pkgconfigdir=/usr/share/pkgconfig $ grep 'pkgconfigdir =' Makefile $ pkgconfigdir = /usr/share/pkgconfig Addresses: https://github.com/karelzak/util-linux/issues/793 Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac1
1 files changed, 1 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index c314edd65..7f462f910 100644
--- a/configure.ac
+++ b/configure.ac
@@ -172,6 +172,7 @@ m4_ifndef([PKG_PROG_PKG_CONFIG],
environment variable AL_OPTS="-I/other/macro/dir" before running
./autogen.sh or autoreconf again. Make sure pkg-config is installed.])])
PKG_PROG_PKG_CONFIG
+PKG_INSTALLDIR(['${usrlib_execdir}/pkgconfig'])
GTK_DOC_CHECK([1.10])
AC_PATH_PROG([XSLTPROC], [xsltproc])