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

Re: [Xen-devel] [PATCH] build: add --with-rundir option to configure

On 16/02/17 15:12, Andrew Cooper wrote:
> On 16/02/17 13:52, Boris Ostrovsky wrote:
>> On 02/16/2017 02:47 AM, Juergen Gross wrote:
>>> There have been reports that Fedora 25 uses /run instead of /var/run.
>>> Add a --with-rundir option ito configure to be able to specify that
>>> directory. Default is still /var/run.
>> As discussed on the other thread, why not make default be the location
>> of directory on build system?
> Because the build system is not the running system.  It doesn't even
> have to be the same distro as the intended running system.  (If you are
> getting adventurous, you can actually build RPMs on Windows 10, and
> install them into a CentOS system...)
>> Or even have it determined at boot time?
> Where does this list stop?  Should we manually search for the
> appropriate /lib, /lib64, /usr/lib, etc to find shared objects?
> This is exactly the kind of issue autoconf is intended to solve.
> It appears that newer versions of autoconf use --runstatedir for this. 
> https://lists.gnu.org/archive/html/bug-autoconf/2013-09/msg00002.html 

Yeah. From autoconf 2.70 on. Which isn't released yet.

> It might be worth following that for forwards compatibility.

I'm no autoconf expert. I could deduce how to use --with-*, but I'm
lost with support of --runstatedir (repeating the patch you referenced
would probably break using autoconf 2.70 in future...).


Xen-devel mailing list



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