Merge pull request #4890 from donaldsharp/solaris_warn

*: Start process of possibly deprecating Solaris
This commit is contained in:
Mark Stapp 2019-08-28 10:51:36 -04:00 committed by GitHub
commit 8f910d6c3f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 10 additions and 0 deletions

View File

@ -1061,6 +1061,7 @@ case "$host_os" in
AC_CHECK_LIB([nsl], [main])
AC_CHECK_LIB([umem], [main])
SOLARIS="solaris"
AC_MSG_WARN([--Solaris support is being considered for deprecation, please let us know if you are still using this--])
;;
linux*)
AC_MSG_RESULT([Linux])

View File

@ -348,6 +348,15 @@ void vty_hello(struct vty *vty)
vty_out(vty, "MOTD file not found\n");
} else if (host.motd)
vty_out(vty, "%s", host.motd);
#if CONFDATE > 20200901
CPP_NOTICE("Please remove solaris code from system as it is deprecated");
#endif
#ifdef SUNOS_5
zlog_warn("If you are using FRR on Solaris, the FRR developers would love to hear from you\n");
zlog_warn("Please send email to dev@lists.frrouting.org about this message\n");
zlog_warn("We are considering deprecating Solaris and want to find users of Solaris systems\n");
#endif
}
/* Put out prompt and wait input from user. */