build: Enable vtysh and pimd as part of default build

The default build needs vtysh and pimd as a default build so
that when a change is made we can catch build issues before they
become a problem.

Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
This commit is contained in:
Donald Sharp 2015-07-16 21:18:34 -04:00 committed by Donald Sharp
parent 5511908940
commit f0646db01d

View File

@ -215,7 +215,7 @@ AC_ARG_WITH(pkg-git-version,
AS_HELP_STRING([--with-pkg-git-version], [add git information to MOTD and build version string]), AS_HELP_STRING([--with-pkg-git-version], [add git information to MOTD and build version string]),
[ test "x$withval" != "xno" && with_pkg_git_version="yes" ]) [ test "x$withval" != "xno" && with_pkg_git_version="yes" ])
AC_ARG_ENABLE(vtysh, AC_ARG_ENABLE(vtysh,
[ --enable-vtysh include integrated vty shell for Quagga]) [ --disable-vtysh do not build integrated vty shell for Quagga])
AC_ARG_ENABLE(ipv6, AC_ARG_ENABLE(ipv6,
[ --disable-ipv6 turn off IPv6 related features and daemons]) [ --disable-ipv6 turn off IPv6 related features and daemons])
AC_ARG_ENABLE(doc, AC_ARG_ENABLE(doc,
@ -237,7 +237,7 @@ AC_ARG_ENABLE(watchquagga,
AC_ARG_ENABLE(isisd, AC_ARG_ENABLE(isisd,
[ --enable-isisd build isisd]) [ --enable-isisd build isisd])
AC_ARG_ENABLE(pimd, AC_ARG_ENABLE(pimd,
[ --enable-pimd build pimd]) [ --disable-pimd do not build pimd])
AC_ARG_ENABLE(solaris, AC_ARG_ENABLE(solaris,
[ --enable-solaris build solaris]) [ --enable-solaris build solaris])
AC_ARG_ENABLE(bgp-announce, AC_ARG_ENABLE(bgp-announce,
@ -677,7 +677,8 @@ dnl ---------------------
dnl Integrated VTY option dnl Integrated VTY option
dnl --------------------- dnl ---------------------
case "${enable_vtysh}" in case "${enable_vtysh}" in
"yes") VTYSH="vtysh"; "no") VTYSH="";;
*) VTYSH="vtysh";
AC_DEFINE(VTYSH,,VTY shell) AC_DEFINE(VTYSH,,VTY shell)
dnl Vtysh uses libreadline, which looks for termcap functions at dnl Vtysh uses libreadline, which looks for termcap functions at
dnl configure time. We follow readlines search order. dnl configure time. We follow readlines search order.
@ -707,7 +708,6 @@ dnl [TODO] on Linux, and in [TODO] on Solaris.
fi fi
;; ;;
"no" ) VTYSH="";; "no" ) VTYSH="";;
* ) ;;
esac esac
AC_SUBST(LIBREADLINE) AC_SUBST(LIBREADLINE)
AM_CONDITIONAL(VTYSH, test "x$VTYSH" = "xvtysh") AM_CONDITIONAL(VTYSH, test "x$VTYSH" = "xvtysh")
@ -1390,9 +1390,8 @@ esac
AM_CONDITIONAL(ISISD, test "x$ISISD" = "xisisd") AM_CONDITIONAL(ISISD, test "x$ISISD" = "xisisd")
case "${enable_pimd}" in case "${enable_pimd}" in
"yes") PIMD="pimd";;
"no" ) PIMD="";; "no" ) PIMD="";;
* ) ;; * ) PIMD="pimd";;
esac esac
AM_CONDITIONAL(PIMD, test "x$PIMD" = "xpimd") AM_CONDITIONAL(PIMD, test "x$PIMD" = "xpimd")