[PATCH xdm] Re-introduce the ability of staticcally linking the greeter.

Gaetan Nadon memsize at videotron.ca
Sat Nov 12 06:57:05 PST 2011


On Fri, 2011-11-11 at 19:37 -0800, Alan Coopersmith wrote:

> On 11/07/11 11:57, Matthieu Herrb wrote:
> > This logically reverts 7e223d3ac6c0d549a7d6e4dcc86a053e19594028.
> > There are still cases (in particular OpenBSD) where the shared greeter
> > is not desired.
> 
> As discussed elsewhere in this thread, I'm okay with the concept of this patch,
> though I have a couple nits about the implementation:
> 
> > +if test "x$DYNAMIC_GREETER" = "xno"; then
> > +STATIC_GREETER_CFLAGS="-DGREET_USER_STATIC"
> > +STATIC_GREETER_LIBS="-L../greeter -lXdmGreet"
> > +fi
> 
> A little indentation of the middle two lines would be nice.
> 
> >   AM_CPPFLAGS = -I$(top_srcdir)/include
> >   AM_CFLAGS = $(CWARNFLAGS) $(XDMGREET_CFLAGS) -DGREET_LIB
> 
> > +#ifdef GREET_LIB
> 
> I don't understand the point of adding #ifdef GREET_LIB when you leave it
> hardcoded in the Makefile as always defined.
> 
        
        GREET_LIB is still needed in greet.h as it is compiled with both session.c
        for xdm execuatable and greeter shared lib.

I don't know if it would really hurt session.c.

> 


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.x.org/archives/xorg-devel/attachments/20111112/bac6c9d8/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part
URL: <http://lists.x.org/archives/xorg-devel/attachments/20111112/bac6c9d8/attachment-0001.pgp>


More information about the xorg-devel mailing list