Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 453778
Collapse All | Expand All

(-)autofs-5.0.7/aclocal.m4 (-1 / +1 lines)
Lines 66-72 AC_DEFUN(AF_SLOPPY_MOUNT, Link Here
66
[if test -n "$MOUNT" ; then
66
[if test -n "$MOUNT" ; then
67
  AC_MSG_CHECKING([if mount accepts the -s option])
67
  AC_MSG_CHECKING([if mount accepts the -s option])
68
  if "$MOUNT" -s > /dev/null 2>&1 ; then
68
  if "$MOUNT" -s > /dev/null 2>&1 ; then
69
    AC_DEFINE(HAVE_SLOPPY_MOUNT, 1, [define if the mount command supports the -s option])
69
    enable_sloppy_mount=yes
70
    AC_MSG_RESULT(yes)
70
    AC_MSG_RESULT(yes)
71
  else
71
  else
72
    AC_MSG_RESULT(no)
72
    AC_MSG_RESULT(no)
(-)autofs-5.0.7/configure.in (-1 / +9 lines)
Lines 157-163 AC_SUBST(sssldir) Link Here
157
# Newer mounts have the -s (sloppy) option to ignore unknown options,
157
# Newer mounts have the -s (sloppy) option to ignore unknown options,
158
# good for portability
158
# good for portability
159
#
159
#
160
AF_SLOPPY_MOUNT()
160
AC_ARG_ENABLE(sloppy-mount,
161
[  --enable-sloppy-mount   enable the use of the -s option to mount],,
162
	enable_sloppy_mount=auto)
163
if test x$enable_sloppy_mount = xauto; then
164
	AF_SLOPPY_MOUNT()
165
fi
166
if test x$enable_sloppy_mount = xyes; then
167
	AC_DEFINE(HAVE_SLOPPY_MOUNT, 1, [define if the mount command supports the -s option])
168
fi
161
169
162
# LDAP SASL auth needs libxml and Kerberos
170
# LDAP SASL auth needs libxml and Kerberos
163
AF_CHECK_LIBXML()
171
AF_CHECK_LIBXML()

Return to bug 453778