[Fontconfig] Re: Structure of cache files

Josselin Mouette joss at debian.org
Fri Dec 9 07:27:52 PST 2005


Le vendredi 09 décembre 2005 à 10:10 -0500, Patrick Lam a écrit :
> Josselin Mouette wrote:
> > Which would translate here as:
> > pkgcachedir='${localstatedir}/cache/'${PACKAGE_NAME}
> > AC_SUBST(pkgcachedir)
> > 
> > AM_CPPFLAGS = -DPKGCACHEDIR='"${pkgcachedir}"'
> 
> This doesn't quite work.
> 
> ${localstatedir} is ${prefix}/var
> ${prefix} is /usr
> 
> so it's looking for /usr/var/cache/fontconfig, which isn't right.
> 
> Should I use something other than ${localstatedir}?

It's just like when you forget to set --sysconfdir=/etc and end up with
configuration in /etc. It's just autoconf being brain-dead.

Regards,
-- 
 .''`.           Josselin Mouette        /\./\
: :' :           josselin.mouette at ens-lyon.org
`. `'                        joss at debian.org
   `-  Debian GNU/Linux -- The power of freedom



More information about the Fontconfig mailing list