bug-grep
[Top][All Lists]
Advanced

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

bug#16757: [PATCH 1/2] search for pcre via pkg-config


From: Jim Meyering
Subject: bug#16757: [PATCH 1/2] search for pcre via pkg-config
Date: Sat, 15 Feb 2014 20:20:35 -0800

On Fri, Feb 14, 2014 at 2:09 PM, Mike Frysinger <address@hidden> wrote:
> Since pcre ships a pkg-config module now, let's default to using that.
> If the system lacks pkg-config support, we still fall back to the old
> logic of probing the headers/libs directly.
>
> * configure.ac: Call m4_pattern_forbid on the PKG_ namespace.
> * m4/pcre.m4: Change serial to 2.
> (gl_FUNC_PCRE): Require PKG_PROG_PKG_CONFIG. Change LIB_PCRE to PCRE_LIBS.
> Set up PCRE_CFLAGS like PCRE_LIBS. Call PKG_CHECK_MODULES and move existing
> logic to the 4th arg.
> * src/Makefile.am (grep_LDADD): Change LIB_PCRE to PCRE_LIBS.
> (AM_CPPFLAGS): Add $(PCRE_CFLAGS).

Thanks, Mike, but when I try to build with that on debian unstable, I
get the attached, so I'd rather defer this one until after the
release.

Attachment: makerr-pcre-problem
Description: Binary data


reply via email to

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