From 7ec72947136bb07cfd293974a219be104d42ba78 Mon Sep 17 00:00:00 2001 From: Slava Zanko Date: Tue, 5 May 2009 21:34:09 +0300 Subject: [PATCH] configure.ac: if present glib-2.14 and higher, libpcre don't linked --- configure.ac | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index bb50d7784..480e04f19 100644 --- a/configure.ac +++ b/configure.ac @@ -345,7 +345,11 @@ linux*) ;; esac -AX_PATH_LIB_PCRE +$PKG_CONFIG --max-version 2.14 glib-2.0 +if test $? -eq 0 +then + AX_PATH_LIB_PCRE +fi dnl dnl Check nroff and the options it supports