buildsys: make tailf linux-only (needs inotify)
PATCH 1/1 buildsys: make tailf linux-only (needs inotify)
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 <[email protected]>
--- configure.ac | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
configure.ac +2 -1
@@ -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])
Signature · 1 line
2.0.1
Hello all!
Quoted 2 lines · Andreas Henriksson
While tailf builds fine on other architectures, it relies on inotify to work properly. So for example on
[...]
Please ignore this! I was to quick to judge. The program has non-inotify fallback code which does work... this is likely just a problem in the testsuite.
I'll follow up shortly.
Regards,
Andreas Henriksson