[patch] standard_session_servicedirs (was Re: OLPC and .service files in a users home directory)

Daniel Stone daniel at fooishbar.org
Wed Nov 1 16:37:18 PST 2006


On Wed, Nov 01, 2006 at 06:44:49PM -0500, Havoc Pennington wrote:
> John (J5) Palmieri wrote:
> > I'm going to look at fixing up the directory expansion
> >macros as per Daniel Stone's previous comments.
> 
> Good luck ;-)
> 
> (First it might be worth considering what case breaks; I do believe what 
> we do now isn't kosher, but on the other hand, nobody has ever reported 
> it as a bug, so maybe it breaks doing something nobody does)

Depends on how indirect your definition of datadir is.  If it's relative
to a non-expanded prefix, it breaks.  If it's relative to a non-expanded
prefix and you're using autoconf 2.60 and an old version of
AC_DEFINE_DIR, it also breaks.

AC_SUBST might expand enough to generally suit you for the common case,
I'm not sure.  But we've had to deal with this all through X, first in
the server and subsequently in the libraries.

Cheers,
Daniel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.freedesktop.org/archives/dbus/attachments/20061102/9ae18f1a/attachment.pgp


More information about the dbus mailing list