From: Jafar Al-Gharaibeh Date: Tue, 1 Aug 2017 21:26:01 +0000 (-0500) Subject: config: Disable pimd on OpenBSD 6.1 X-Git-Tag: frr-4.0-dev~460^2 X-Git-Url: https://git.puffer.fish/?a=commitdiff_plain;h=004174c77fd6df2289ddc5984e88a1281a4f65ad;p=mirror%2Ffrr.git config: Disable pimd on OpenBSD 6.1 OpenBSD dropped support for PIM in 6.1. Error out if the user does not disable pimd explicitly. Signed-off-by: Jafar Al-Gharaibeh --- diff --git a/configure.ac b/configure.ac index a67f5934e3..6b5cd19a5f 100755 --- a/configure.ac +++ b/configure.ac @@ -868,6 +868,16 @@ case "$host_os" in AC_DEFINE(OPEN_BSD,,OpenBSD) AC_DEFINE(KAME,1,KAME IPv6) + + if test "x${enable_pimd}" != "xno"; 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])