aboutsummaryrefslogtreecommitdiffstats
path: root/configure.in
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>1998-04-01 11:15:47 +0000
committerH. Peter Anvin <hpa@zytor.com>1998-04-01 11:15:47 +0000
commitb71338e3f424c1b37af3c2695810da9557043a4a (patch)
treea759f66314d18a3484f0d503f2c09c98787abf6e /configure.in
parent17fa2145a79fe7e49f2f7d78dee8a7f28eaee861 (diff)
downloadautofs3-b71338e3f424c1b37af3c2695810da9557043a4a.tar.gz
autofs3-b71338e3f424c1b37af3c2695810da9557043a4a.tar.xz
autofs3-b71338e3f424c1b37af3c2695810da9557043a4a.zip
Add "-s" (sloppy) option to mount if it is supported.
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in12
1 files changed, 10 insertions, 2 deletions
diff --git a/configure.in b/configure.in
index ab48130..175b783 100644
--- a/configure.in
+++ b/configure.in
@@ -17,7 +17,7 @@ AC_PREFIX_DEFAULT(/usr)
#
# The user can specify --with-path=PATH rather than relying on the default
#
-searchpath="${PATH}:/bin:/usr/bin:/sbin:/usr/sbin"
+searchpath="/usr/bin:/bin:/usr/sbin:/sbin"
AC_ARG_WITH(path,
--with-path=PATH look in PATH for binaries needed by the automounter,
if test -z "$withval" -o "$withval" = "yes" -o "$withval" = "no"
@@ -27,7 +27,9 @@ AC_ARG_WITH(path,
searchpath="${withval}"
fi
)
-echo "checking for binaries in... ${searchpath}"
+
+AC_MSG_CHECKING([for binaries in])
+AC_MSG_RESULT([$searchpath])
#
# Programs needed for various system functions or modules
@@ -39,6 +41,12 @@ AF_PATH_INCLUDE(SMBMOUNT, smbmount, , $searchpath)
AC_SUBST(HAVE_SMBMOUNT)
#
+# Newer mounts have the -s (sloppy) option to ignore unknown options,
+# good for portability
+#
+AF_SLOPPY_MOUNT()
+
+#
# glibc/libc 6 new libraries
#
AC_CHECK_LIB(nsl, yp_match, LIBNSL="-lnsl")