aboutsummaryrefslogtreecommitdiff
path: root/m4
diff options
context:
space:
mode:
authorBen Pfaff <blp@nicira.com>2010-11-03 09:57:16 -0700
committerBen Pfaff <blp@nicira.com>2010-11-05 10:20:01 -0700
commita5eef57e2c43a427b901baa6f0b79d00d2c222d3 (patch)
tree6ae8583bfd694142cd84017a48ad8c59b15d2b0d /m4
parent6d6c72594d019672f1fc45ba9ca95b622ac3e969 (diff)
configure: Fix Graphviz test and input generation.
This check for Graphviz never actually worked properly because Autoconf swallows up the [] around [gG], so Graphviz was always detected as missing. This commit fixes the problem by doubling up to [[gG]]. Because Graphviz was never used, I never noticed that ovsdb-dot had not been revised to use the latest Python interface to OVSDB, so this commit fixes up those problems too.
Diffstat (limited to 'm4')
-rw-r--r--m4/openvswitch.m42
1 files changed, 1 insertions, 1 deletions
diff --git a/m4/openvswitch.m4 b/m4/openvswitch.m4
index 5d77ca24..c5f07420 100644
--- a/m4/openvswitch.m4
+++ b/m4/openvswitch.m4
@@ -198,7 +198,7 @@ AC_DEFUN([OVS_CHECK_DOT],
[for dot],
[ovs_cv_dot],
[dnl "dot" writes -V output to stderr:
- if (dot -V) 2>&1 | grep '^dot - [gG]raphviz version' >/dev/null 2>&1; then
+ if (dot -V) 2>&1 | grep '^dot - [[gG]]raphviz version' >/dev/null 2>&1; then
ovs_cv_dot=yes
else
ovs_cv_dot=no