From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 18330 invoked by alias); 3 Mar 2016 21:37:58 -0000 Mailing-List: contact zsh-workers-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Workers List List-Post: List-Help: X-Seq: 38084 Received: (qmail 3104 invoked from network); 3 Mar 2016 21:37:57 -0000 X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.1 From: Baruch Siach To: zsh-workers@zsh.org Cc: Baruch Siach Subject: [PATCH] configure: use user set pcre-config Date: Thu, 3 Mar 2016 23:37:27 +0200 Message-Id: X-Mailer: git-send-email 2.7.0 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