]> git.ipfire.org Git - thirdparty/util-linux.git/blame - m4/pkg.m4
findmnt: (verify) ignore passno for XFS
[thirdparty/util-linux.git] / m4 / pkg.m4
CommitLineData
fbd2d01e
KZ
1dnl
2dnl https://github.com/pkgconf/pkgconf/blob/master/pkg.m4#L217-L236
3dnl
4dnl PKG_INSTALLDIR([DIRECTORY])
5dnl -------------------------
6dnl Since: 0.27
7dnl
8dnl Substitutes the variable pkgconfigdir as the location where a module
9dnl should install pkg-config .pc files. By default the directory is
10dnl $libdir/pkgconfig, but the default can be changed by passing
11dnl DIRECTORY. The user can override through the --with-pkgconfigdir
12dnl parameter.
13AC_DEFUN([PKG_INSTALLDIR],
14[m4_pushdef([pkg_default], [m4_default([$1], ['${libdir}/pkgconfig'])])
15m4_pushdef([pkg_description],
16 [pkg-config installation directory @<:@]pkg_default[@:>@])
17AC_ARG_WITH([pkgconfigdir],
18 [AS_HELP_STRING([--with-pkgconfigdir], pkg_description)],,
19 [with_pkgconfigdir=]pkg_default)
20AC_SUBST([pkgconfigdir], [$with_pkgconfigdir])
21m4_popdef([pkg_default])
22m4_popdef([pkg_description])
23])dnl PKG_INSTALLDIR
24