It is difficult to think think tunelp command being in use a lot. Signed-off-by: Sami Kerola <kerolasa@xxxxxx> --- Documentation/deprecated.txt | 4 ++++ configure.ac | 10 ++++++++++ sys-utils/Makemodule.am | 2 ++ 3 files changed, 16 insertions(+) diff --git a/Documentation/deprecated.txt b/Documentation/deprecated.txt index 7d2dac1..666ed63 100644 --- a/Documentation/deprecated.txt +++ b/Documentation/deprecated.txt @@ -41,6 +41,10 @@ What: losetup output format without --list -------------------------- +What: tunelp +Why: parallel port printers are probably almost extinct devices + +-------------------------- What: elvtune Why: useless for kernel >= 2.6.9 diff --git a/configure.ac b/configure.ac index 3be3715..3e4f23c 100644 --- a/configure.ac +++ b/configure.ac @@ -671,6 +671,7 @@ AC_ARG_ENABLE([most-builds], if test "x$enable_most_builds" = xyes; then enable_arch=check enable_elvtune=check + enable_tunelp=yes enable_last=yes enable_line=yes enable_mesg=yes @@ -989,6 +990,15 @@ UL_REQUIRES_LINUX([elvtune]) AM_CONDITIONAL(BUILD_ELVTUNE, test "x$build_elvtune" = xyes) +AC_ARG_ENABLE([tunelp], + AS_HELP_STRING([--enable-tunelp], [build tunelp]), + [], enable_tunelp=no +) +UL_BUILD_INIT([tunelp]) +UL_REQUIRES_LINUX([tunelp]) +AM_CONDITIONAL(BUILD_TUNELP, test "x$build_tunelp" = xyes) + + AC_ARG_ENABLE([kill], AS_HELP_STRING([--disable-kill], [do not build kill]), [], enable_kill=check diff --git a/sys-utils/Makemodule.am b/sys-utils/Makemodule.am index c7b1eb3..33112fb 100644 --- a/sys-utils/Makemodule.am +++ b/sys-utils/Makemodule.am @@ -73,9 +73,11 @@ dist_man_MANS += sys-utils/ldattach.8 ldattach_SOURCES = sys-utils/ldattach.c ldattach_LDADD = $(LDADD) libcommon.la +if BUILD_TUNELP usrsbin_exec_PROGRAMS += tunelp dist_man_MANS += sys-utils/tunelp.8 tunelp_SOURCES = sys-utils/tunelp.c sys-utils/lp.h +endif usrsbin_exec_PROGRAMS += rtcwake dist_man_MANS += sys-utils/rtcwake.8 -- 1.8.0.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