From: Samuel Thibault Date: Fri, 12 Dec 2008 11:52:21 +0000 (+0100) Subject: ldattach: don't compile for non-linux systems X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=82383bd7de5f45bc904bec7a9bf8f3c2edf4f9b9;p=util-linux ldattach: don't compile for non-linux systems 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 Signed-off-by: Karel Zak --- diff --git a/sys-utils/Makefile.am b/sys-utils/Makefile.am index 1d40a199..034f58e8 100644 --- a/sys-utils/Makefile.am +++ b/sys-utils/Makefile.am @@ -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