summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--configure.ac2
2 files changed, 6 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 691f54c77..28ac59bd9 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2016-03-04  Peter Stephenson  <p.stephenson@samsung.com>
+
+	* 38084: Baruch Siach: configure.ac: use the pcre-config we
+	found earlier for determining libs.
+
 2016-03-03  Barton E. Schaefer  <schaefer@zsh.org>
 
 	* 38048: Src/zle_refresh.c: fix "zle redisplay" when called while
diff --git a/configure.ac b/configure.ac
index c3bd713c1..9947b1606 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 ---------------------