From: Samuel Thibault Date: Thu, 24 Jul 2008 00:27:14 +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=abd0b5686db6e8ea4dfd53ef9f3f91a13fdddcd0;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 --- diff --git a/sys-utils/Makefile.am b/sys-utils/Makefile.am index d13131fa..e32d7884 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 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