]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
tunelp: deprecation: remove command from default build
authorSami Kerola <kerolasa@iki.fi>
Sun, 16 Dec 2012 10:43:56 +0000 (10:43 +0000)
committerKarel Zak <kzak@redhat.com>
Wed, 19 Dec 2012 10:38:48 +0000 (11:38 +0100)
It is difficult to think think tunelp command being in use a lot.

Signed-off-by: Sami Kerola <kerolasa@iki.fi>
Documentation/deprecated.txt
configure.ac
sys-utils/Makemodule.am

index 7d2dac11362a33fdd952ca40dc08301510dee06e..666ed63de6890295df134e455e42ddaeacabc60b 100644 (file)
@@ -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
index c0783056c605e968f5a5d1671256084d5c80791e..9c08fc0e5da8a1b28385224ef8bd24c0de5ed410 100644 (file)
@@ -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
index c7b1eb361492fc003f8dd5089499e87d159fa024..33112fb68e16592bee9919d440ddeb3892c0c87c 100644 (file)
@@ -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