build: Only use PKG_INSTALLDIR if available

It's only in pkg-config 0.27 or newer, but 0.25 at least is still
fairly widespread.
This commit is contained in:
Colin Walters 2013-01-31 21:32:46 -05:00 committed by Akira TAGOH
parent e11f15628c
commit c1d9588890
1 changed files with 1 additions and 1 deletions

View File

@ -68,7 +68,7 @@ AC_LIBTOOL_WIN32_DLL
AM_PROG_LIBTOOL
AC_PROG_MAKE_SET
PKG_PROG_PKG_CONFIG
PKG_INSTALLDIR
m4_ifdef([PKG_INSTALLDIR], [PKG_INSTALLDIR], AC_SUBST([pkgconfigdir], ${libdir}/pkgconfig))
AC_MSG_CHECKING([for RM macro])
_predefined_rm=`make -p -f /dev/null 2>/dev/null|grep '^RM ='|sed -e 's/^RM = //'`