>From 5b0cf3b1aa930537312a71e77960f5481b3b79e4 Mon Sep 17 00:00:00 2001 From: Paul Eggert
Date: Mon, 6 Apr 2015 16:09:39 -0700 Subject: [PATCH] build: improve pkg-config doc and error handling Error-handling improvement suggested by Mike Frysinger in: http://bugs.gnu.org/16757#29 * NEWS: Document pkg-config changes. * README-prereq: pkg-config is now a prereq when building from repository. * m4/pcre.m4 (gl_FUNC_PCRE): Report an error if pcre is explicitly requested but not available. Defer to user-supplied PCRE_CFLAGS and PCRE_LIBS. --- NEWS | 5 +++++ README-prereq | 23 ++++++++++++----------- m4/pcre.m4 | 12 ++++++------ 3 files changed, 23 insertions(+), 17 deletions(-) diff --git a/NEWS b/NEWS index 071caab..ae8f38f 100644 --- a/NEWS +++ b/NEWS @@ -2,6 +2,11 @@ GNU grep NEWS -*- outline -*- * Noteworthy changes in release ?.? (????-??-??) [?] +** Improvements + + When building grep, 'configure' now uses PCRE's pkg-config module for + configuration information, rather than attempting to guess it by hand. + ** Bug fixes grep no longer reads from uninitialized memory or from beyond the end diff --git a/README-prereq b/README-prereq index 056f42d..0422aa6 100644 --- a/README-prereq +++ b/README-prereq @@ -1,17 +1,18 @@ This gives some notes on obtaining the tools required for development. I.E. the tools checked for by the bootstrap script and include: -- Autoconf