[Fontconfig] Re: Structure of cache files

Josselin Mouette joss at debian.org
Fri Dec 9 00:09:05 PST 2005


Le vendredi 09 décembre 2005 à 01:17 -0500, Behdad Esfahbod a écrit :
> > How do I make ${localstatedir} available to the C source code?
> >
> > pat
> 
> Add to configure.{ac,in}:
> 
> pkglocalstatedir='${localstatedir}/lib/'${PACKAGE_NAME}
> AC_SUBST(pkglocalstatedir)
> 
> 
> and to src/Makefile.am:
> 
> AM_CPPFLAGS =   \
>                 -DPKGLOCALSTATEDIR='"${pkglocalstatedir}"'

Which would translate here as:
pkgcachedir='${localstatedir}/cache/'${PACKAGE_NAME}
AC_SUBST(pkgcachedir)

AM_CPPFLAGS = -DPKGCACHEDIR='"${pkgcachedir}"'

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