Use the PKG_INSTALLDIR macro.
authorChristoph J. Thompson <cjsthompson@gmail.com>
Fri, 1 Feb 2013 01:27:32 +0000 (02:27 +0100)
committerAkira TAGOH <akira@tagoh.org>
Fri, 1 Feb 2013 01:42:03 +0000 (10:42 +0900)
modified:   Makefile.am
modified:   configure.ac

Makefile.am
configure.ac

index 84c91ac..8510f55 100644 (file)
@@ -59,7 +59,6 @@ MAINTAINERCLEANFILES = \
        $(srcdir)/mkinstalldirs \
        `find "$(srcdir)" -type f -name Makefile.in -print`
 
-pkgconfigdir=$(libdir)/pkgconfig
 pkgconfig_DATA = fontconfig.pc
 
 baseconfigdir = $(BASECONFIGDIR)
index f8a41c9..d7e4ed1 100644 (file)
@@ -68,6 +68,7 @@ AC_LIBTOOL_WIN32_DLL
 AM_PROG_LIBTOOL
 AC_PROG_MAKE_SET
 PKG_PROG_PKG_CONFIG
+PKG_INSTALLDIR
 
 AC_MSG_CHECKING([for RM macro])
 _predefined_rm=`make -p -f /dev/null 2>/dev/null|grep '^RM ='|sed -e 's/^RM = //'`