From ac25c153691faea65cbfc1b0781b8b0dab3f4b29 Mon Sep 17 00:00:00 2001 From: Nikolaus Rath Date: Fri, 23 Dec 2016 18:47:01 -0800 Subject: Set IGNORE_MTAB when running under NetBSD Apparently, NetBSD does not have /etc/mtab. Setting IGNORE_MTAB in this case makes the code a little nicer. See also https://github.com/libfuse/libfuse/pull/123 --- configure.ac | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index d51e10a..ab3ec72 100644 --- a/configure.ac +++ b/configure.ac @@ -54,7 +54,8 @@ fi if test "$enable_test" != "no"; then subdirs2="$subdirs2 test"; fi -if test "$enable_mtab" = "no"; then +if test "$enable_mtab" = "no" -o \ + "$arch" = "netbsd"; then AC_DEFINE(IGNORE_MTAB, 1, [Don't update /etc/mtab]) fi -- cgit v1.2.3