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