[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] [PATCH 30/46] Use configure --localstatedir=BASEDIR to set path to /var



On Tue, 2014-09-23 at 14:37 +0200, Olaf Hering wrote:
> On Tue, Sep 23, Ian Campbell wrote:
> 
> > >  case "$host_os" in
> > > -*freebsd*) XEN_LOCK_DIR=/var/lib ;;
> > > -*netbsd*) XEN_LOCK_DIR=/var/lib ;;
> > > -*) XEN_LOCK_DIR=/var/lock ;;
> > > +*freebsd*) XEN_LOCK_DIR=$localstatedir/lib ;;
> > > +*netbsd*) XEN_LOCK_DIR=$localstatedir/lib ;;
> > > +*) XEN_LOCK_DIR=$localstatedir/lock ;;
> > 
> > I've been continually surprised in this series that autoconf doesn't
> > just Do The Right Thing on different $host_os's. I thought that was the
> > point of it.
> 
> I'm not sure what you mean. autoconf has no knowledge of a lockdir
> AFAICS.

Right, and since this is something which varies between systems this
surprises me...

>  Its just that BSD puts the locks in /var/lib instead of
> /var/lock, so there has to be a place to describe that.

Understood, I just wonder why autoconf doesn't do it for us (not just
here but most place that check $host_os)

Ian.


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.