From 582fc9602825c9e4830cb1fc8ea8aaf3beaa3eb1 Mon Sep 17 00:00:00 2001 From: faissaloo Date: Tue, 6 Sep 2016 12:36:39 +0100 Subject: [PATCH 20/20] Can now be compiled without linenumber support --- configure.ac | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/configure.ac b/configure.ac index 1c6ef38..a06fd91 100644 --- a/configure.ac +++ b/configure.ac @@ -127,6 +127,12 @@ fi AC_ARG_ENABLE(libmagic, AS_HELP_STRING([--disable-libmagic], [Disable detection of file types via libmagic])) +AC_ARG_ENABLE(linenumbers, +AS_HELP_STRING([--disable-linenumbers], [Disable help functions])) +if test "x$enable_linenumbers" = xno; then + AC_DEFINE(DISABLE_LINE_NUM, 1, [Define this to disable linenumbering]) +fi + AC_ARG_ENABLE(mouse, AS_HELP_STRING([--disable-mouse], [Disable mouse support (and -m flag)])) if test "x$enable_mouse" = xno; then -- 2.7.4