aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--aclocal.m414
1 files changed, 8 insertions, 6 deletions
diff --git a/aclocal.m4 b/aclocal.m4
index 5e4e73c..cf0fd92 100644
--- a/aclocal.m4
+++ b/aclocal.m4
@@ -24,10 +24,12 @@ dnl the cpp variable HAVE_SLOPPY_MOUNT if so. This requires that MOUNT is
dnl already defined by a call to AF_PATH_INCLUDE or AC_PATH_PROGS.
dnl --------------------------------------------------------------------------
AC_DEFUN(AF_SLOPPY_MOUNT,
-[AC_MSG_CHECKING([if mount accepts the -s option])
-if "$MOUNT" -s > /dev/null 2>&1 ; then
- AC_DEFINE(HAVE_SLOPPY_MOUNT)
- AC_MSG_RESULT(yes)
-else
- AC_MSG_RESULT(no)
+[if test -n "$MOUNT" ; then
+ AC_MSG_CHECKING([if mount accepts the -s option])
+ if "$MOUNT" -s > /dev/null 2>&1 ; then
+ AC_DEFINE(HAVE_SLOPPY_MOUNT)
+ AC_MSG_RESULT(yes)
+ else
+ AC_MSG_RESULT(no)
+ fi
fi])