diff options
author | Sami Kerola <kerolasa@iki.fi> | 2011-05-21 15:02:09 +0200 |
---|---|---|
committer | Karel Zak <kzak@redhat.com> | 2011-05-26 15:03:54 +0200 |
commit | c135a8bdc3b2d21fba2c0e6e09dc785498736061 (patch) | |
tree | 6082bb0da8e3a83e2ecd70a76ff250d79c1d46a2 | |
parent | dd9a7873768e0930dbb2239ad010aa5293d81de1 (diff) | |
download | util-linux-c135a8bdc3b2d21fba2c0e6e09dc785498736061.tar.gz |
build-sys: stop building line(1) by default
Align build system behaviour with DEPRECATED file.
Signed-off-by: Sami Kerola <kerolasa@iki.fi>
-rw-r--r-- | configure.ac | 5 | ||||
-rw-r--r-- | text-utils/Makefile.am | 9 |
2 files changed, 12 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac index eaab8aa7..ba048d14 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 cc4b8b66..9ea7a9f3 100644 --- a/text-utils/Makefile.am +++ b/text-utils/Makefile.am @@ -2,7 +2,7 @@ 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 column_SOURCES = column.c $(top_srcdir)/lib/strutils.c @@ -11,7 +11,12 @@ hexdump_SOURCES = hexdump.c conv.c display.c hexsyntax.c parse.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 |