Align build system behaviour with DEPRECATED file. Signed-off-by: Sami Kerola <kerolasa@xxxxxx> --- configure.ac | 5 +++++ text-utils/Makefile.am | 9 +++++++-- 2 files changed, 12 insertions(+), 2 deletions(-) diff --git a/configure.ac b/configure.ac index eaab8aa..ba048d1 100644 --- a/configure.ac +++ b/configure.ac @@ -989,6 +989,11 @@ AC_ARG_ENABLE([last], ) AM_CONDITIONAL(BUILD_LAST, test "x$enable_last" = xyes) +AC_ARG_ENABLE([line], + AS_HELP_STRING([--enable-line], [build line]), + [], enable_line=no +) +AM_CONDITIONAL(BUILD_LINE, test "x$enable_line" = xyes) AC_ARG_ENABLE([mesg], AS_HELP_STRING([--enable-mesg], [build mesg]), diff --git a/text-utils/Makefile.am b/text-utils/Makefile.am index 513f1c3..2e09532 100644 --- a/text-utils/Makefile.am +++ b/text-utils/Makefile.am @@ -2,14 +2,19 @@ include $(top_srcdir)/config/include-Makefile.am EXTRA_DIST = README.clear README.col -usrbin_exec_PROGRAMS = col colcrt colrm column hexdump rev line tailf +usrbin_exec_PROGRAMS = col colcrt colrm column hexdump rev tailf hexdump_SOURCES = hexdump.c conv.c display.c hexsyntax.c parse.c \ hexdump.h $(top_srcdir)/lib/strutils.c tailf_SOURCES = tailf.c $(top_srcdir)/lib/strutils.c -dist_man_MANS = col.1 colcrt.1 colrm.1 column.1 hexdump.1 rev.1 line.1 tailf.1 +dist_man_MANS = col.1 colcrt.1 colrm.1 column.1 hexdump.1 rev.1 tailf.1 + +if BUILD_LINE +usrbin_exec_PROGRAMS += line +dist_man_MANS += line.1 +endif if HAVE_NCURSES bin_PROGRAMS = more -- 1.7.5.2 -- To unsubscribe from this list: send the line "unsubscribe util-linux" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html