Apparently new versions of util-linux umount return with an exit status of 1
even if the "--fake" option is recognised (despite being documented otherwise).
Check this condition and don't complain about util-linux version.
initialized for the "/" path. This resulted in remove_node_lru()
crashing on LOOKUP-DOTDOT. Patch by Madan Valluri
+ * libfuse: configure: detect new util-linux
+
2012-10-01 Miklos Szeredi <miklos@szeredi.hu>
* Released 2.9.2
AC_MSG_RESULT([yes])
else
firstline=`umount --fake --no-canonicalize 2>&1 | head -1`
- AC_MSG_RESULT([$firstline])
- util_linux_ok=no
+ if test "$firstline" = 'umount: only root can use "--fake" option'; then
+ AC_MSG_RESULT([yes])
+ else
+ AC_MSG_RESULT([$firstline])
+ util_linux_ok=no
+ fi
fi
fi