bug-gnulib
[Top][All Lists]
Advanced

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

Re: [PATCH] maintainer-makefiles: use $(SED) for syntax check


From: Eric Blake
Subject: Re: [PATCH] maintainer-makefiles: use $(SED) for syntax check
Date: Fri, 21 Feb 2014 08:42:34 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.3.0

On 02/20/2014 07:00 AM, Eric Blake wrote:
> Roman Bogorodskiy reported that attempts to use 'make syntax-check'
> for libvirt on a BSD host was failing, due to libvirt's use of
> GNU sed constructs in cfg.mk.  While libvirt could be patched to
> use only portable sed constructs, it is also worth making sed
> replaceable so that any maintainer can use a consistent sed program
> rather than being hardcoded to the first 'sed' on $PATH.
> 
> * modules/maintainer-makefile (configure.ac): Check for sane sed.
> * top/maint.mk: Change sed to $(SED).
> 
> Signed-off-by: Eric Blake <address@hidden>
> ---
>  ChangeLog                   |  6 ++++++
>  modules/maintainer-makefile |  1 +
>  top/maint.mk                | 35 ++++++++++++++++++-----------------
>  3 files changed, 25 insertions(+), 17 deletions(-)

Pavel Hrdina reported that I'll need to do a followup for RHEL 5 which
still uses autoconf 2.59: AC_PROG_SED was introduced in autoconf 2.60,
so gnulib now needs to provide a backup definition.

-- 
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]