diff options
author | Ben Pfaff <blp@nicira.com> | 2009-08-06 13:24:13 -0700 |
---|---|---|
committer | Ben Pfaff <blp@nicira.com> | 2009-08-18 16:09:32 -0700 |
commit | 081f1381725f2f091119eb2e12991a6e86246260 (patch) | |
tree | 296c1d80d0b9a856b63b38337528bce0b8755772 /m4 | |
parent | b2f460c72dc738302adf44b988e9dc4b44c4c621 (diff) |
switch UI: Only build ovs-switchui if PCRE 7.2 or later is available.
The PCRE_INFO_OKPARTIAL feature used by ovs-switchui was only introduced
in PCRE 7.2, so we need to check for that version or later, instead of
just for PCRE.
Thanks to Ian Campbell <Ian.Campbell@citrix.com> for reporting the problem.
Diffstat (limited to 'm4')
-rw-r--r-- | m4/openvswitch.m4 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/m4/openvswitch.m4 b/m4/openvswitch.m4 index 3fe053b0..d65baba8 100644 --- a/m4/openvswitch.m4 +++ b/m4/openvswitch.m4 @@ -228,7 +228,7 @@ dnl Checks for libpcre. AC_DEFUN([OVS_CHECK_PCRE], [dnl Make sure that pkg-config is installed. m4_pattern_forbid([PKG_CHECK_MODULES]) - PKG_CHECK_MODULES([PCRE], [libpcre], [HAVE_PCRE=yes], [HAVE_PCRE=no]) + PKG_CHECK_MODULES([PCRE], [libpcre >= 7.2], [HAVE_PCRE=yes], [HAVE_PCRE=no]) AM_CONDITIONAL([HAVE_PCRE], [test "$HAVE_PCRE" = yes]) if test "$HAVE_PCRE" = yes; then AC_DEFINE([HAVE_PCRE], [1], [Define to 1 if libpcre is installed.]) |