mirror of
https://gitlab.com/openconnect/ocserv.git
synced 2026-03-14 14:58:06 +08:00
Added configure option to specify the default pager for occtl.
This commit is contained in:
@@ -155,6 +155,15 @@ if [ test "$anyconnect_enabled" = "yes" ];then
|
||||
AC_DEFINE([ANYCONNECT_CLIENT_COMPAT], [], [Enable Anyconnect compatibility])
|
||||
fi
|
||||
|
||||
AC_ARG_WITH(pager,
|
||||
AS_HELP_STRING([--with-pager], [set a specific pager for occtl]),
|
||||
occtl_pager=$withval)
|
||||
if [ test -z "$occtl_pager" ];then
|
||||
AC_DEFINE([OCCTL_PAGER], [less], [The default pager for occtl])
|
||||
else
|
||||
AC_DEFINE_UNQUOTED([OCCTL_PAGER], ["$occtl_pager"], [The default pager for occtl])
|
||||
fi
|
||||
|
||||
dnl Test for http_parser library
|
||||
with_local_http_parser=yes
|
||||
LIBS="$oldlibs -lhttp_parser"
|
||||
|
||||
Reference in New Issue
Block a user