[Fontconfig] Re: Structure of cache files

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxx
`. `'                        joss@xxxxxxxxxx
   `-  Debian GNU/Linux -- The power of freedom


[Index of Archives]     [Fedora Fonts]     [Fedora Users]     [Fedora Cloud]     [Kernel]     [Fedora Packaging]     [Fedora Desktop]     [PAM]     [Gimp Graphics Editor]     [Yosemite News]

  Powered by Linux