From a26cc67c16932fa9d07da200bbff75889cfe7529 Mon Sep 17 00:00:00 2001 From: Ben Pfaff Date: Tue, 23 Feb 2010 15:48:28 -0800 Subject: Remove PCRE dependency. --- m4/openvswitch.m4 | 18 +++--------------- 1 file changed, 3 insertions(+), 15 deletions(-) (limited to 'm4') diff --git a/m4/openvswitch.m4 b/m4/openvswitch.m4 index 861e4ebd8..ccb3a0143 100644 --- a/m4/openvswitch.m4 +++ b/m4/openvswitch.m4 @@ -216,28 +216,16 @@ AC_DEFUN([OVS_CHECK_LINUX_VT_H], dnl Checks for libpcre. dnl -dnl ovsdb wants any reasonable version of libpcre (6.6 is what -dnl XenServer 5.5 has). -dnl dnl ezio-term wants libpcre that supports the PCRE_PARTIAL feature, dnl which is libpcre 7.2 or later. AC_DEFUN([OVS_CHECK_PCRE], [dnl Make sure that pkg-config is installed. m4_pattern_forbid([PKG_CHECK_MODULES]) PKG_CHECK_MODULES([PCRE], - [libpcre >= 6.6], - [HAVE_PCRE=yes - PKG_CHECK_EXISTS([libpcre >= 7.2], - [HAVE_PCRE_PARTIAL=yes], - [HAVE_PCRE_PARTIAL=no])], - [HAVE_PCRE=no - HAVE_PCRE_PARTIAL=no]) - AM_CONDITIONAL([HAVE_PCRE], [test "$HAVE_PCRE" = yes]) + [libpcre >= 7.2], + [HAVE_PCRE_PARTIAL=yes], + [HAVE_PCRE_PARTIAL=no]) AM_CONDITIONAL([HAVE_PCRE_PARTIAL], [test "$HAVE_PCRE_PARTIAL" = yes]) - if test "$HAVE_PCRE" = yes; then - AC_DEFINE([HAVE_PCRE], [1], [Define to 1 if libpcre is installed.]) - fi - AC_SUBST([HAVE_PCRE]) AC_SUBST([HAVE_PCRE_PARTIAL]) ]) -- cgit v1.2.1