]> err.no Git - util-linux/commitdiff
ldattach: don't compile for non-linux systems
authorSamuel Thibault <samuel.thibault@ens-lyon.org>
Thu, 24 Jul 2008 00:27:14 +0000 (01:27 +0100)
committerKarel Zak <kzak@redhat.com>
Mon, 28 Jul 2008 09:05:48 +0000 (11:05 +0200)
There is just ldattach which doesn't compile because line disciplines are not
implemented that way on the Hurd.  Is TIOCSETD any kind of standard?  Else I
guess the patch below would be fine.

Signed-off-by: Samuel Thibault <samuel.thibault@ens-lyon.org>
sys-utils/Makefile.am

index d13131fa43d4fcb2f0beb4fd73c98990decc5f89..e32d7884c0de154ff2fb72a80100b93482adc5bb 100644 (file)
@@ -3,19 +3,19 @@ include $(top_srcdir)/config/include-Makefile.am
 bin_PROGRAMS =
 sbin_PROGRAMS =
 usrbinexec_PROGRAMS = flock ipcrm ipcs renice setsid
-usrsbinexec_PROGRAMS = ldattach readprofile
+usrsbinexec_PROGRAMS = readprofile
 
 dist_man_MANS = flock.1 ipcrm.1 ipcs.1 renice.1 setsid.1 \
-               ldattach.8 readprofile.1
+               readprofile.1
 
 if LINUX
 bin_PROGRAMS += dmesg
 sbin_PROGRAMS += ctrlaltdel
 usrbinexec_PROGRAMS += cytune setarch lscpu
-usrsbinexec_PROGRAMS += tunelp rtcwake
+usrsbinexec_PROGRAMS += ldattach tunelp rtcwake
 
 dist_man_MANS += dmesg ctrlaltdel.8 cytune.8 setarch.8 \
-               lscpu.1 tunelp.8 rtcwake.8
+               ldattach.8 lscpu.1 tunelp.8 rtcwake.8
 endif
 
 cytune_SOURCES = cytune.c cyclades.h