ncftp: bump version to 3.2.6
[buildroot-gz.git] / package / zsh / 0001-configure-use-user-set-pcre-config.patch
blobd4cf59bdddca2af44e5dfe086d3348b80081e2c9
1 From: Baruch Siach <baruch@tkos.co.il>
2 Date: Thu, 3 Mar 2016 23:14:39 +0200
3 Subject: [PATCH] configure: use user set pcre-config
5 Setting a non default configuration script location is common practice when
6 cross compiling, since the target library might need different flags. zsh
7 configure scripts allows the user to set pcre-config location but doesn't
8 actually use it. Fix this.
10 Signed-off-by: Baruch Siach <baruch@tkos.co.il>
11 ---
12 Patch status: sent upstream
13 (http://www.zsh.org/mla/workers/2016/msg00619.html)
15 configure.ac | 2 +-
16 1 file changed, 1 insertion(+), 1 deletion(-)
18 diff --git a/configure.ac b/configure.ac
19 index c3bd713c126a..9947b16066b6 100644
20 --- a/configure.ac
21 +++ b/configure.ac
22 @@ -925,7 +925,7 @@ fi
23 if test x$enable_pcre = xyes; then
24 dnl pcre-config should probably be employed here
25 dnl AC_SEARCH_LIBS(pcre_compile, pcre)
26 - LIBS="`pcre-config --libs` $LIBS"
27 + LIBS="`$ac_cv_prog_PCRECONF --libs` $LIBS"
30 dnl ---------------------
31 --
32 2.7.0