summaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authorRuben Kerkhof <ruben@rubenkerkhof.com>2020-03-18 17:49:37 +0100
committerRuben Kerkhof <ruben@rubenkerkhof.com>2020-03-18 17:51:18 +0100
commit0476fdad7acc59c82d630c91a6b20b110db389cc (patch)
treefceacfc55f510b24441b4e502272b5a8f9e8e621 /configure.ac
parentMerge pull request #6030 from mjstapp/fix_config_vrrp (diff)
downloadfrr-0476fdad7acc59c82d630c91a6b20b110db389cc.tar.xz
frr-0476fdad7acc59c82d630c91a6b20b110db389cc.zip
build: really disable pimd on OpenBSD
For some reason the check did not work Signed-off-by: Ruben Kerkhof <ruben@rubenkerkhof.com>
Diffstat (limited to 'configure.ac')
-rwxr-xr-xconfigure.ac26
1 files changed, 16 insertions, 10 deletions
diff --git a/configure.ac b/configure.ac
index 9aff63a31..b4d227e79 100755
--- a/configure.ac
+++ b/configure.ac
@@ -1122,16 +1122,6 @@ case "$host_os" in
AC_DEFINE([OPEN_BSD], [1], [OpenBSD])
AC_DEFINE([KAME], [1], [KAME IPv6])
AC_DEFINE([BSD_V6_SYSCTL], [1], [BSD v6 sysctl to turn on and off forwarding])
-
- if test "$enable_pimd" != "no"; then
- case "$host_os" in
- openbsd6.0)
- ;;
- openbsd[6-9]*)
- AC_MSG_FAILURE([pimd cannot be enabled as PIM support has been removed from OpenBSD 6.1])
- ;;
- esac
- fi
;;
*)
AC_MSG_RESULT([BSD])
@@ -1791,6 +1781,22 @@ if test "$enable_rpki" = "yes"; then
)
fi
+dnl ------------------------------------
+dnl pimd is not supported on OpenBSD
+dnl ------------------------------------
+if test "$enable_pimd" != "no"; then
+AC_MSG_CHECKING([for pimd OS support])
+case "$host_os" in
+ openbsd*)
+ AC_MSG_RESULT([no])
+ enable_pimd="no"
+ ;;
+ *)
+ AC_MSG_RESULT([yes])
+ ;;
+esac
+fi
+
dnl -------------------------------------
dnl VRRP is only supported on linux
dnl -------------------------------------