diff options
author | Ben Pfaff <blp@nicira.com> | 2010-12-06 09:56:38 -0800 |
---|---|---|
committer | Ben Pfaff <blp@nicira.com> | 2010-12-06 09:56:38 -0800 |
commit | 7c9b00732c633ddd35b9d92fb9fa4c4f8e3ce390 (patch) | |
tree | 70adfddc161eef5993d64bf2153414d87e394d23 /m4 | |
parent | 4230c966859179d706dfd8d68a8fe7641c59e914 (diff) |
docs: Only regenerate vswitch.pic when the schema really changes.
Until now, vswitch.pic has been rebuilt whenever the schema changed. This
is OK when the E-R diagram would really change, but many changes to the
schema don't change the E-R diagram, and it surprises people when
vswitch.pic changes in such a situation. This commit fixes the problem.
Requested-by: Justin Pettit <jpettit@nicira.com>
Diffstat (limited to 'm4')
-rw-r--r-- | m4/openvswitch.m4 | 15 |
1 files changed, 1 insertions, 14 deletions
diff --git a/m4/openvswitch.m4 b/m4/openvswitch.m4 index 6dda3508..077c29b9 100644 --- a/m4/openvswitch.m4 +++ b/m4/openvswitch.m4 @@ -202,21 +202,8 @@ AC_DEFUN([OVS_CHECK_DOT], ovs_cv_dot=yes else ovs_cv_dot=no - fi])]) - -dnl Check whether to build E-R diagrams. -AC_DEFUN([OVS_CHECK_ER_DIAGRAMS], - [AC_REQUIRE([OVS_CHECK_DOT]) - AC_REQUIRE([OVS_CHECK_PYTHON]) - AC_CACHE_CHECK( - [whether to build E-R diagrams for database], - [ovs_cv_er_diagrams], - [if test $ovs_cv_dot != no && test $ovs_cv_python != no; then - ovs_cv_er_diagrams=yes - else - ovs_cv_er_diagrams=no fi]) - AM_CONDITIONAL([BUILD_ER_DIAGRAMS], [test $ovs_cv_er_diagrams = yes])]) + AM_CONDITIONAL([HAVE_DOT], [test "$ovs_cv_dot" = yes])]) dnl Checks for pyuic4. AC_DEFUN([OVS_CHECK_PYUIC4], |