diff options
author | Mark Stapp <mjs@voltanet.io> | 2020-03-17 22:26:20 +0100 |
---|---|---|
committer | Mark Stapp <mjs@voltanet.io> | 2020-03-18 13:26:31 +0100 |
commit | 3fa94379a793f72f7df99bde86821fd396403475 (patch) | |
tree | 6100dc68d35f9e8044fa9d41e46b86177bd1721f /configure.ac | |
parent | Merge pull request #5954 from ton31337/feature/rfc7607 (diff) | |
download | frr-3fa94379a793f72f7df99bde86821fd396403475.tar.xz frr-3fa94379a793f72f7df99bde86821fd396403475.zip |
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>
Diffstat (limited to 'configure.ac')
-rwxr-xr-x | configure.ac | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index 0d56b60e7..9aff63a31 100755 --- a/configure.ac +++ b/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 ------------------------------------------ |