]> err.no Git - util-linux/commitdiff
ldattach: don't compile for non-linux systems
authorSamuel Thibault <samuel.thibault@ens-lyon.org>
Fri, 12 Dec 2008 11:52:21 +0000 (12:52 +0100)
committerKarel Zak <kzak@redhat.com>
Fri, 12 Dec 2008 11:52:21 +0000 (12:52 +0100)
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>
Signed-off-by: Karel Zak <kzak@redhat.com>
sys-utils/Makefile.am

index 1d40a199e19ce9fba03d2f8297f97cac5a34f91c..034f58e82e3f818ceaad4ba7ea9eca40f0898287 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
-usrsbinexec_PROGRAMS += tunelp rtcwake
+usrsbinexec_PROGRAMS += ldattach tunelp rtcwake
 
 dist_man_MANS += dmesg.1 ctrlaltdel.8 cytune.8 setarch.8 \
-               tunelp.8 rtcwake.8
+               tunelp.8 rtcwake.8 ldattach.8
 endif
 
 cytune_SOURCES = cytune.c cyclades.h