aboutsummaryrefslogtreecommitdiffstats
path: root/aclocal.m4
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>1998-04-01 11:32:20 +0000
committerH. Peter Anvin <hpa@zytor.com>1998-04-01 11:32:20 +0000
commit98477c6124dcd6eca0865382f4ce20373e134aad (patch)
treebb001fb05a6d9e05050b65f055b658fac5e273aa /aclocal.m4
parent2bda53e6969da5548342e9b69b8310b34c3b1a69 (diff)
downloadautofs3-98477c6124dcd6eca0865382f4ce20373e134aad.tar.gz
autofs3-98477c6124dcd6eca0865382f4ce20373e134aad.tar.xz
autofs3-98477c6124dcd6eca0865382f4ce20373e134aad.zip
If we don't have mount we're pretty screwed, but at least make the rule
work correctly.
Diffstat (limited to 'aclocal.m4')
-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])