Subject: Re: bug#19357: [PATCH] grep: fails to build grep on a machine which has no PCRE with --enable-gcc-warnings

From: Eric Blake <[email-masked]>
Date: Fri, 12 Dec 2014 09:27:22 -0700

On 12/12/2014 08:53 AM, Norihiro Tanaka wrote:
> If a machine has no PCRE, grep fails to build grep on it du to
> -Werror=unused-variable with --enable-gcc-warnings.  I found it on
> Fedora 21 (GCC 4.9.2).
> 

> +++ b/NEWS
> @@ -2,6 +2,11 @@ GNU grep NEWS                                    -*- outline -*-
>  
>  * Noteworthy changes in release ?.? (????-??-??) [?]
>  
> +** Bug fixes
> +
> +  A warning is no longer output --enable-gcc-warnings even if build grep
> +  on a machine which has no PCRE.
> +  [bug introduced in grep-2.21]

I would not make this a NEWS item.  It is not a visible change in
behavior to the end user, only to the build process.

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