forked from ariadne/pkgconf
autotools: replace PKGCONFIGDIR with PKG_DEFAULT_PATH
parent
3ae11b1b4d
commit
38cda5e584
|
@ -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
|
||||
|
||||
|
|
|
@ -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)])],
|
||||
|
|
|
@ -31,7 +31,7 @@ esac
|
|||
prefix="@prefix@"
|
||||
exec_prefix="@exec_prefix@"
|
||||
datarootdir="@datarootdir@"
|
||||
pcpath="@PKGCONFIGDIR@"
|
||||
pcpath="@PKG_DEFAULT_PATH@"
|
||||
|
||||
tests_init()
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue