]> git.wh0rd.org - fontconfig.git/blobdiff - configure.in
Eliminate warning.
[fontconfig.git] / configure.in
index 9e2fdde016bf978a4556ae27e0affc0e86e97edd..26fd05b27c710be6f9d489777abd3c6521d5b04e 100644 (file)
@@ -33,7 +33,7 @@ dnl This is the package version number, not the shared library
 dnl version.  This same version number must appear in fontconfig/fontconfig.h
 dnl Yes, it is a pain to synchronize version numbers.  Unfortunately, it's
 dnl not possible to extract the version number here from fontconfig.h
-AM_INIT_AUTOMAKE(fontconfig, 2.3.90)
+AM_INIT_AUTOMAKE(fontconfig, 2.3.94)
 AM_MAINTAINER_MODE
 
 dnl libtool versioning
@@ -306,6 +306,8 @@ fi
 
 AC_ARG_ENABLE(libxml2,         [  --enable-libxml2              Use libxml2 instead of Expat])
 
+PKG_PROG_PKG_CONFIG
+
 if test "$enable_libxml2" = "yes" -o "$expat" = "no"; then
     PKG_CHECK_MODULES([LIBXML2], [libxml-2.0 >= 2.6])
     AC_DEFINE_UNQUOTED(ENABLE_LIBXML2,1,[Use libxml2 instead of Expat])
@@ -479,6 +481,13 @@ fi
 
 AC_SUBST(DOCDIR)
 
+#
+# Make /var/cache/fontconfig directory available to source code
+#
+
+pkgcachedir='${localstatedir}/cache/'${PACKAGE}
+AC_SUBST(pkgcachedir)
+
 AC_OUTPUT([
 Makefile 
 fontconfig/Makefile