mirror of
https://github.com/FRRouting/frr.git
synced 2025-04-30 13:37:17 +02:00
build: disable VRRPD if not linux
Only allow configure to try to build VRRPD on linux; other platforms disable it. Signed-off-by: Mark Stapp <mjs@voltanet.io>
This commit is contained in:
parent
047315df42
commit
3fa94379a7
16
configure.ac
16
configure.ac
|
@ -1791,6 +1791,22 @@ if test "$enable_rpki" = "yes"; then
|
|||
)
|
||||
fi
|
||||
|
||||
dnl -------------------------------------
|
||||
dnl VRRP is only supported on linux
|
||||
dnl -------------------------------------
|
||||
if test "$enable_vrrpd" != "no"; then
|
||||
AC_MSG_CHECKING([for VRRP OS support])
|
||||
case "$host_os" in
|
||||
linux*)
|
||||
AC_MSG_RESULT([yes])
|
||||
;;
|
||||
*)
|
||||
AC_MSG_RESULT([no])
|
||||
enable_vrrpd="no"
|
||||
;;
|
||||
esac
|
||||
fi
|
||||
|
||||
dnl ------------------------------------------
|
||||
dnl Check whether rtrlib was build with ssh support
|
||||
dnl ------------------------------------------
|
||||
|
|
Loading…
Reference in a new issue