[GRASS5] XEXTRALIBS and -lsocket

Markus Neteler neteler at geog.uni-hannover.de
Wed Mar 7 05:08:11 EST 2001


On Wed, Mar 07, 2001 at 04:08:16PM +0700, Justin Hickey wrote:
> Hi Markus
> 
> Markus Neteler wrote:
> > Note: The head file contains:
> > 
> >  Linux: XEXTRALIBS =
> > 
> >  Solaris: XEXTRALIBS = -lsocket  -lnsl
> > 
> >           -lnsl is present in XDRLIB as well on Solaris.
> 
> Why is -lsocket (and -lnsl for that matter) defined for the XEXTRALIBS
> make variable? Sockets have nothing to do with the X window system. I
> would suggest to create another make variable for sockets. Mixing
> libraries with inappropriate make variables is only confusing. We should
> be trying to minimize confusion, not adding to it.
Accepted! But this is done by "configure"... not my idea.

 Markus

---------------------------------------- 
If you want to unsubscribe from GRASS Development Team mailing list write to:
minordomo at geog.uni-hannover.de with
subject 'unsubscribe grass5'



More information about the grass-dev mailing list