[GRASS5] XEXTRALIBS and -lsocket
Markus Neteler
neteler at geog.uni-hannover.de
Wed Mar 7 05:15:08 EST 2001
On Wed, Mar 07, 2001 at 10:08:11AM +0000, Markus Neteler wrote:
> 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.
an addition:
It seems to result from the "gethostname" test in configure[.in]
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