summaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@cumulusnetworks.com>2017-05-10 17:09:24 +0200
committerDonald Sharp <sharpd@cumulusnetworks.com>2017-05-10 17:16:26 +0200
commit08c369bda98a28e9bfb148f25749319648f61f1b (patch)
tree115121974fbd7ccf2c13aaa5184bb9438491bd17 /configure.ac
parentMerge pull request #494 from donaldsharp/community.md (diff)
downloadfrr-08c369bda98a28e9bfb148f25749319648f61f1b.tar.xz
frr-08c369bda98a28e9bfb148f25749319648f61f1b.zip
*: Allow configure to control VTYSH_PAGER used
Signed-off-by: Donald Sharp
Diffstat (limited to 'configure.ac')
-rwxr-xr-xconfigure.ac5
1 files changed, 5 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 340b0a953..fa10baf8f 100755
--- a/configure.ac
+++ b/configure.ac
@@ -228,6 +228,9 @@ AC_ARG_WITH(pkg-extra-version,
AC_ARG_WITH(pkg-git-version,
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" ])
+AC_ARG_WITH(vtysh_pager,
+ AS_HELP_STRING([--with-vtysh-pager=PAGER], [control what pager is compiled in as default]),
+ VTYSH_PAGER=$withval, VTYSH_PAGER="more")
AC_ARG_ENABLE(vtysh,
AS_HELP_STRING([--disable-vtysh], [do not build integrated vty shell for Quagga]))
AC_ARG_ENABLE(doc,
@@ -532,6 +535,8 @@ esac
AC_DEFINE_UNQUOTED(MULTIPATH_NUM, $MPATH_NUM, Maximum number of paths for a route)
+AC_DEFINE_UNQUOTED(VTYSH_PAGER, "$VTYSH_PAGER", [What pager to use])
+
dnl -----------------------------------
dnl Add extra version string to package
dnl name, string and version fields.