aboutsummaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac3
1 files changed, 2 insertions, 1 deletions
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