Browse Source

configure.ac: if present glib-2.14 and higher, libpcre don't linked

Slava Zanko 16 years ago
parent
commit
7ec7294713
1 changed files with 5 additions and 1 deletions
  1. 5 1
      configure.ac

+ 5 - 1
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