projects
/
platform
/
upstream
/
fontconfig.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e11f156
)
build: Only use PKG_INSTALLDIR if available
author
Colin Walters
<walters@verbum.org>
Fri, 1 Feb 2013 02:32:46 +0000
(21:32 -0500)
committer
Akira TAGOH
<akira@tagoh.org>
Fri, 1 Feb 2013 02:39:23 +0000
(11:39 +0900)
It's only in pkg-config 0.27 or newer, but 0.25 at least is still
fairly widespread.
configure.ac
patch
|
blob
|
history
diff --git
a/configure.ac
b/configure.ac
index
d7e4ed1
..
4996b79
100644
(file)
--- a/
configure.ac
+++ b/
configure.ac
@@
-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 = //'`