bug-gnulib
[Top][All Lists]
Advanced

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

Re: [PATCH] configmake: support new --runstatedir option


From: Eric Blake
Subject: Re: [PATCH] configmake: support new --runstatedir option
Date: Mon, 23 Sep 2013 10:10:35 -0600
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130805 Thunderbird/17.0.8

On 09/12/2013 04:26 PM, Eric Blake wrote:
> http://lwn.net/Articles/436012/ documents that many distros
> are now preferring to use /run rather than /var/run for
> storage of pid files and other per-process temporary files
> that must not be cleaned out during arbitrary TMPDIR sweeps.
> As such, the GNU Coding Standards were recently changed to
> recommend a new configure option to make it easy to choose
> this directory at configure time, and autoconf 2.70 will
> support the new directory by default.  This patch adds support
> for propagating results of the new option (for new enough
> autotools) or providing a sane default (for older autotools)
> into C code.
> 
> * m4/configmake.m4 (gl_CONFIGMAKE_PREP): Substitute runstatedir
> even if autoconf was too old to provide the command line option.
> * modules/configmake (Makefile.am): Propagate it to .h file.
> 
> Signed-off-by: Eric Blake <address@hidden>
> ---
> 
> Just as with the autoconf patch, I'm not pushing this gnulib
> patch until the make-stds.texi change goes live.

I've now pushed this gnulib patch.  I'm still trying to work out if I
can make gnulib guarantee that './configure --runstatedir' will work
even when using autoconf 2.59 - 2.69 (instead of forcing project
managers to require 2.70), but it has turned complicated enough to
warrant being a separate patch.

-- 
Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]