[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] pcre: replace pcre-config with pkg-config
From: |
Bertrand Jacquin |
Subject: |
Re: [PATCH] pcre: replace pcre-config with pkg-config |
Date: |
Wed, 13 May 2009 20:54:54 +0200 |
User-agent: |
Mutt/1.5.18 (2008-05-17) |
Le mercredi 13 mai 2009 à 20h45, « Bertrand Jacquin » racontait :
> --- configure.ac.ori 2009-02-10 05:35:21.000000000 +0100
> +++ configure.ac 2009-05-13 20:42:46.000000000 +0200
>
> # support for pcre
> if test x"$testpcre" = x"yes"; then
> - if pcre-config --cflags >/dev/null 2>&1; then
> - CPPFLAGS="$CPPFLAGS `pcre-config --cflags`"
> - LIBS="$LIBS `pcre-config --libs`"
> - fi
> + PKG_CHECK_MODULES(pcre, [libpcre])
> + CFLAGS="$CFLAGS $pcre_CFLAGS"
> + LIBS="$LIBS $pcre_LIBS"
> +
Wrong file, s/CFLAGS/CPPFLAGS/g. Correction attached. Sorry for noise.
Bertrand
--
Beber
grep-2.5.4-BJA-pcre-pkgconfig.diff
Description: Text Data
signature.asc
Description: Digital signature