[PATCH] buildsys: make tailf linux-only (needs inotify)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



While tailf builds fine on other architectures, it relies
on inotify to work properly. So for example on
Debian architectures using Hurd or kFreeBSD tailf
would work like a regular tail (with a non-functional
-f option), which makes it quite redundant.
This was caught by the util-linux testsuite.

Signed-off-by: Andreas Henriksson <andreas@xxxxxxxx>
---
 configure.ac | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/configure.ac b/configure.ac
index aae2456..eade79c 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1272,7 +1272,8 @@ AM_CONDITIONAL([BUILD_HEXDUMP], [test "x$build_hexdump" = xyes])
 UL_BUILD_INIT([rev], [yes])
 AM_CONDITIONAL([BUILD_REV], [test "x$build_rev" = xyes])
 
-UL_BUILD_INIT([tailf], [yes])
+UL_BUILD_INIT([tailf], [check])
+UL_REQUIRES_LINUX([tailf])
 AM_CONDITIONAL([BUILD_TAILF], [test "x$build_tailf" = xyes])
 
 
-- 
2.0.1

--
To unsubscribe from this list: send the line "unsubscribe util-linux" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux