configure: Fix Graphviz test and input generation.
[openvswitch] / m4 / openvswitch.m4
index 5d77ca24b4296373d59fb8fe6ea098b09659b86d..c5f0742016f0f5aad9b31b0b0587cf10bdc8cfcb 100644 (file)
@@ -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