X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=m4%2Fopenvswitch.m4;h=7aaf67a209402b38aecc65c90a747dbd433399a0;hb=a193dde952a9ec7bb388e08b86bd2929edd3a353;hp=e9edc4902311f69b2dbee048339622d38deae78c;hpb=2bc458b3afa21a8fab448ff65ab454a0827f458f;p=openvswitch diff --git a/m4/openvswitch.m4 b/m4/openvswitch.m4 index e9edc490..7aaf67a2 100644 --- a/m4/openvswitch.m4 +++ b/m4/openvswitch.m4 @@ -361,3 +361,15 @@ AC_DEFUN([OVS_CHECK_LINKER_SECTIONS], fi AM_CONDITIONAL( [USE_LINKER_SECTIONS], [test $ovs_cv_use_linker_sections = yes])]) + +dnl Checks for groff. +AC_DEFUN([OVS_CHECK_GROFF], + [AC_CACHE_CHECK( + [for groff], + [ovs_cv_groff], + [if (groff -v) >/dev/null 2>&1; then + ovs_cv_groff=yes + else + ovs_cv_groff=no + fi]) + AM_CONDITIONAL([HAVE_GROFF], [test "$ovs_cv_groff" = yes])])