autotools: replace PKGCONFIGDIR with PKG_DEFAULT_PATH

feature/tap-sh
William Pitcock 2017-06-24 12:45:44 -05:00
parent 3ae11b1b4d
commit 38cda5e584
3 changed files with 5 additions and 5 deletions

View File

@ -4,7 +4,7 @@ datadir = @datadir@
includedir = @includedir@
system_includedir = @SYSTEM_INCLUDEDIR@
system_libdir = @SYSTEM_LIBDIR@
pkg_default_dir = @PKGCONFIGDIR@
pkg_default_dir = @PKG_DEFAULT_PATH@
pkgconfigdir = $(libdir)/pkgconfig
nodist_pkgconfig_DATA = libpkgconf.pc

View File

@ -24,10 +24,10 @@ LT_INIT
AC_SYS_LARGEFILE
AC_ARG_WITH([pkg-config-dir],[AC_HELP_STRING([--with-pkg-config-dir],[specify
the place where pc files will be found])],PKGCONFIGDIR="$withval",
PKGCONFIGDIR="${libdir}/pkgconfig:${datadir}/pkgconfig")
the place where pc files will be found])],PKG_DEFAULT_PATH="$withval",
PKG_DEFAULT_PATH="${libdir}/pkgconfig:${datadir}/pkgconfig")
AC_SUBST([PKGCONFIGDIR])
AC_SUBST([PKG_DEFAULT_PATH])
AC_ARG_WITH([system-libdir],[AC_HELP_STRING([--with-system-libdir],[specify the
system library directory (default LIBDIR)])],

View File

@ -31,7 +31,7 @@ esac
prefix="@prefix@"
exec_prefix="@exec_prefix@"
datarootdir="@datarootdir@"
pcpath="@PKGCONFIGDIR@"
pcpath="@PKG_DEFAULT_PATH@"
tests_init()
{