Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
[PATCH] configure: use user set pcre-config
- X-seq: zsh-workers 38084
- From: Baruch Siach <baruch@xxxxxxxxxx>
- To: zsh-workers@xxxxxxx
- Subject: [PATCH] configure: use user set pcre-config
- Date: Thu, 3 Mar 2016 23:37:27 +0200
- Cc: Baruch Siach <baruch@xxxxxxxxxx>
- List-help: <mailto:zsh-workers-help@zsh.org>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
Setting a non default configuration script location is common practice when
cross compiling, since the target library might need different flags. zsh
configure scripts allows the user to set pcre-config location but doesn't
actually use it. Fix this.
---
configure.ac | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/configure.ac b/configure.ac
index c3bd713c126a..9947b16066b6 100644
--- a/configure.ac
+++ b/configure.ac
@@ -925,7 +925,7 @@ fi
if test x$enable_pcre = xyes; then
dnl pcre-config should probably be employed here
dnl AC_SEARCH_LIBS(pcre_compile, pcre)
- LIBS="`pcre-config --libs` $LIBS"
+ LIBS="`$ac_cv_prog_PCRECONF --libs` $LIBS"
fi
dnl ---------------------
--
2.7.0
Messages sorted by:
Reverse Date,
Date,
Thread,
Author