[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, 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. Its just that BSD puts the locks in /var/lib instead of
/var/lock, so there has to be a place to describe that.

Olaf

_______________________________________________
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®.