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>
This commit is contained in:
parent
99878f5dc4
commit
99f95a1ea9
|
@ -28,8 +28,6 @@ ul_libfdisk_incdir = $(top_builddir)/libfdisk/src
|
|||
|
||||
ul_libuuid_incdir = $(top_srcdir)/libuuid/src
|
||||
|
||||
pkgconfigdir = $(usrlib_execdir)/pkgconfig
|
||||
|
||||
bashcompletiondir = @bashcompletiondir@
|
||||
|
||||
dist_noinst_HEADERS =
|
||||
|
|
|
@ -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])
|
||||
|
|
Loading…
Reference in New Issue