|
|
4d476f |
autofs-5.0.7 - add enable sloppy mount option to configure
|
|
|
4d476f |
|
|
|
4d476f |
From: Ian Kent <ikent@redhat.com>
|
|
|
4d476f |
|
|
|
4d476f |
Add an option --enable-sloppy-mount or --disable-sloppy-mount to force
|
|
|
4d476f |
or prevent the use of the -s option to mount, thus avoiding the
|
|
|
4d476f |
autodetection. This can be useful in setups where executing mount
|
|
|
4d476f |
might be undesirable, particularly in packaging environments.
|
|
|
4d476f |
|
|
|
4d476f |
2013-04-04 Martin von Gagern
|
|
|
4d476f |
|
|
|
4d476f |
References:
|
|
|
4d476f |
* https://bugs.gentoo.org/453778
|
|
|
4d476f |
---
|
|
|
4d476f |
CHANGELOG | 1
|
|
|
4d476f |
aclocal.m4 | 2
|
|
|
4d476f |
configure | 252 +++++++++++++++++++++++++++++++---------------------------
|
|
|
4d476f |
configure.in | 10 ++
|
|
|
4d476f |
4 files changed, 146 insertions(+), 119 deletions(-)
|
|
|
4d476f |
|
|
|
4d476f |
diff --git a/CHANGELOG b/CHANGELOG
|
|
|
4d476f |
index 61edddf..66c11de 100644
|
|
|
4d476f |
--- a/CHANGELOG
|
|
|
4d476f |
+++ b/CHANGELOG
|
|
|
4d476f |
@@ -42,6 +42,7 @@
|
|
|
4d476f |
- fix submount tree not all expiring.
|
|
|
4d476f |
- make dump maps check for duplicate indirect mounts.
|
|
|
4d476f |
- document allowed map sources in auto.master.
|
|
|
4d476f |
+- add enable sloppy mount option to configure.
|
|
|
4d476f |
|
|
|
4d476f |
25/07/2012 autofs-5.0.7
|
|
|
4d476f |
=======================
|
|
|
4d476f |
diff --git a/aclocal.m4 b/aclocal.m4
|
|
|
4d476f |
index 47bca0c..c5de159 100644
|
|
|
4d476f |
--- a/aclocal.m4
|
|
|
4d476f |
+++ b/aclocal.m4
|
|
|
4d476f |
@@ -66,7 +66,7 @@ AC_DEFUN(AF_SLOPPY_MOUNT,
|
|
|
4d476f |
[if test -n "$MOUNT" ; then
|
|
|
4d476f |
AC_MSG_CHECKING([if mount accepts the -s option])
|
|
|
4d476f |
if "$MOUNT" -s > /dev/null 2>&1 ; then
|
|
|
4d476f |
- AC_DEFINE(HAVE_SLOPPY_MOUNT, 1, [define if the mount command supports the -s option])
|
|
|
4d476f |
+ enable_sloppy_mount=yes
|
|
|
4d476f |
AC_MSG_RESULT(yes)
|
|
|
4d476f |
else
|
|
|
4d476f |
AC_MSG_RESULT(no)
|
|
|
4d476f |
diff --git a/configure b/configure
|
|
|
4d476f |
index c1423d8..08b7ccc 100755
|
|
|
4d476f |
--- a/configure
|
|
|
4d476f |
+++ b/configure
|
|
|
4d476f |
@@ -1,11 +1,9 @@
|
|
|
4d476f |
#! /bin/sh
|
|
|
4d476f |
# Guess values for system-dependent variables and create Makefiles.
|
|
|
4d476f |
-# Generated by GNU Autoconf 2.68.
|
|
|
4d476f |
+# Generated by GNU Autoconf 2.69.
|
|
|
4d476f |
#
|
|
|
4d476f |
#
|
|
|
4d476f |
-# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
|
|
|
4d476f |
-# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
|
|
|
4d476f |
-# Foundation, Inc.
|
|
|
4d476f |
+# Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
|
|
|
4d476f |
#
|
|
|
4d476f |
#
|
|
|
4d476f |
# This configure script is free software; the Free Software Foundation
|
|
|
4d476f |
@@ -134,6 +132,31 @@ export LANGUAGE
|
|
|
4d476f |
# CDPATH.
|
|
|
4d476f |
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
|
|
|
4d476f |
|
|
|
4d476f |
+# Use a proper internal environment variable to ensure we don't fall
|
|
|
4d476f |
+ # into an infinite loop, continuously re-executing ourselves.
|
|
|
4d476f |
+ if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
|
|
|
4d476f |
+ _as_can_reexec=no; export _as_can_reexec;
|
|
|
4d476f |
+ # We cannot yet assume a decent shell, so we have to provide a
|
|
|
4d476f |
+# neutralization value for shells without unset; and this also
|
|
|
4d476f |
+# works around shells that cannot unset nonexistent variables.
|
|
|
4d476f |
+# Preserve -v and -x to the replacement shell.
|
|
|
4d476f |
+BASH_ENV=/dev/null
|
|
|
4d476f |
+ENV=/dev/null
|
|
|
4d476f |
+(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
|
|
|
4d476f |
+case $- in # ((((
|
|
|
4d476f |
+ *v*x* | *x*v* ) as_opts=-vx ;;
|
|
|
4d476f |
+ *v* ) as_opts=-v ;;
|
|
|
4d476f |
+ *x* ) as_opts=-x ;;
|
|
|
4d476f |
+ * ) as_opts= ;;
|
|
|
4d476f |
+esac
|
|
|
4d476f |
+exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
|
|
|
4d476f |
+# Admittedly, this is quite paranoid, since all the known shells bail
|
|
|
4d476f |
+# out after a failed `exec'.
|
|
|
4d476f |
+$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
|
|
|
4d476f |
+as_fn_exit 255
|
|
|
4d476f |
+ fi
|
|
|
4d476f |
+ # We don't want this to propagate to other subprocesses.
|
|
|
4d476f |
+ { _as_can_reexec=; unset _as_can_reexec;}
|
|
|
4d476f |
if test "x$CONFIG_SHELL" = x; then
|
|
|
4d476f |
as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
|
|
|
4d476f |
emulate sh
|
|
|
4d476f |
@@ -167,7 +190,8 @@ if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
|
|
|
4d476f |
else
|
|
|
4d476f |
exitcode=1; echo positional parameters were not saved.
|
|
|
4d476f |
fi
|
|
|
4d476f |
-test x\$exitcode = x0 || exit 1"
|
|
|
4d476f |
+test x\$exitcode = x0 || exit 1
|
|
|
4d476f |
+test -x / || exit 1"
|
|
|
4d476f |
as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
|
|
|
4d476f |
as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
|
|
|
4d476f |
eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
|
|
|
4d476f |
@@ -212,21 +236,25 @@ IFS=$as_save_IFS
|
|
|
4d476f |
|
|
|
4d476f |
|
|
|
4d476f |
if test "x$CONFIG_SHELL" != x; then :
|
|
|
4d476f |
- # We cannot yet assume a decent shell, so we have to provide a
|
|
|
4d476f |
- # neutralization value for shells without unset; and this also
|
|
|
4d476f |
- # works around shells that cannot unset nonexistent variables.
|
|
|
4d476f |
- # Preserve -v and -x to the replacement shell.
|
|
|
4d476f |
- BASH_ENV=/dev/null
|
|
|
4d476f |
- ENV=/dev/null
|
|
|
4d476f |
- (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
|
|
|
4d476f |
- export CONFIG_SHELL
|
|
|
4d476f |
- case $- in # ((((
|
|
|
4d476f |
- *v*x* | *x*v* ) as_opts=-vx ;;
|
|
|
4d476f |
- *v* ) as_opts=-v ;;
|
|
|
4d476f |
- *x* ) as_opts=-x ;;
|
|
|
4d476f |
- * ) as_opts= ;;
|
|
|
4d476f |
- esac
|
|
|
4d476f |
- exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
|
|
|
4d476f |
+ export CONFIG_SHELL
|
|
|
4d476f |
+ # We cannot yet assume a decent shell, so we have to provide a
|
|
|
4d476f |
+# neutralization value for shells without unset; and this also
|
|
|
4d476f |
+# works around shells that cannot unset nonexistent variables.
|
|
|
4d476f |
+# Preserve -v and -x to the replacement shell.
|
|
|
4d476f |
+BASH_ENV=/dev/null
|
|
|
4d476f |
+ENV=/dev/null
|
|
|
4d476f |
+(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
|
|
|
4d476f |
+case $- in # ((((
|
|
|
4d476f |
+ *v*x* | *x*v* ) as_opts=-vx ;;
|
|
|
4d476f |
+ *v* ) as_opts=-v ;;
|
|
|
4d476f |
+ *x* ) as_opts=-x ;;
|
|
|
4d476f |
+ * ) as_opts= ;;
|
|
|
4d476f |
+esac
|
|
|
4d476f |
+exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
|
|
|
4d476f |
+# Admittedly, this is quite paranoid, since all the known shells bail
|
|
|
4d476f |
+# out after a failed `exec'.
|
|
|
4d476f |
+$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
|
|
|
4d476f |
+exit 255
|
|
|
4d476f |
fi
|
|
|
4d476f |
|
|
|
4d476f |
if test x$as_have_required = xno; then :
|
|
|
4d476f |
@@ -328,6 +356,14 @@ $as_echo X"$as_dir" |
|
|
|
4d476f |
|
|
|
4d476f |
|
|
|
4d476f |
} # as_fn_mkdir_p
|
|
|
4d476f |
+
|
|
|
4d476f |
+# as_fn_executable_p FILE
|
|
|
4d476f |
+# -----------------------
|
|
|
4d476f |
+# Test if FILE is an executable regular file.
|
|
|
4d476f |
+as_fn_executable_p ()
|
|
|
4d476f |
+{
|
|
|
4d476f |
+ test -f "$1" && test -x "$1"
|
|
|
4d476f |
+} # as_fn_executable_p
|
|
|
4d476f |
# as_fn_append VAR VALUE
|
|
|
4d476f |
# ----------------------
|
|
|
4d476f |
# Append the text in VALUE to the end of the definition contained in VAR. Take
|
|
|
4d476f |
@@ -449,6 +485,10 @@ as_cr_alnum=$as_cr_Letters$as_cr_digits
|
|
|
4d476f |
chmod +x "$as_me.lineno" ||
|
|
|
4d476f |
{ $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
|
|
|
4d476f |
|
|
|
4d476f |
+ # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
|
|
|
4d476f |
+ # already done that, so ensure we don't try to do so again and fall
|
|
|
4d476f |
+ # in an infinite loop. This has already happened in practice.
|
|
|
4d476f |
+ _as_can_reexec=no; export _as_can_reexec
|
|
|
4d476f |
# Don't try to exec as it changes $[0], causing all sort of problems
|
|
|
4d476f |
# (the dirname of $[0] is not the place where we might find the
|
|
|
4d476f |
# original and so on. Autoconf is especially sensitive to this).
|
|
|
4d476f |
@@ -483,16 +523,16 @@ if (echo >conf$$.file) 2>/dev/null; then
|
|
|
4d476f |
# ... but there are two gotchas:
|
|
|
4d476f |
# 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
|
|
|
4d476f |
# 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
|
|
|
4d476f |
- # In both cases, we have to default to `cp -p'.
|
|
|
4d476f |
+ # In both cases, we have to default to `cp -pR'.
|
|
|
4d476f |
ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
|
|
|
4d476f |
- as_ln_s='cp -p'
|
|
|
4d476f |
+ as_ln_s='cp -pR'
|
|
|
4d476f |
elif ln conf$$.file conf$$ 2>/dev/null; then
|
|
|
4d476f |
as_ln_s=ln
|
|
|
4d476f |
else
|
|
|
4d476f |
- as_ln_s='cp -p'
|
|
|
4d476f |
+ as_ln_s='cp -pR'
|
|
|
4d476f |
fi
|
|
|
4d476f |
else
|
|
|
4d476f |
- as_ln_s='cp -p'
|
|
|
4d476f |
+ as_ln_s='cp -pR'
|
|
|
4d476f |
fi
|
|
|
4d476f |
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
|
|
|
4d476f |
rmdir conf$$.dir 2>/dev/null
|
|
|
4d476f |
@@ -504,28 +544,8 @@ else
|
|
|
4d476f |
as_mkdir_p=false
|
|
|
4d476f |
fi
|
|
|
4d476f |
|
|
|
4d476f |
-if test -x / >/dev/null 2>&1; then
|
|
|
4d476f |
- as_test_x='test -x'
|
|
|
4d476f |
-else
|
|
|
4d476f |
- if ls -dL / >/dev/null 2>&1; then
|
|
|
4d476f |
- as_ls_L_option=L
|
|
|
4d476f |
- else
|
|
|
4d476f |
- as_ls_L_option=
|
|
|
4d476f |
- fi
|
|
|
4d476f |
- as_test_x='
|
|
|
4d476f |
- eval sh -c '\''
|
|
|
4d476f |
- if test -d "$1"; then
|
|
|
4d476f |
- test -d "$1/.";
|
|
|
4d476f |
- else
|
|
|
4d476f |
- case $1 in #(
|
|
|
4d476f |
- -*)set "./$1";;
|
|
|
4d476f |
- esac;
|
|
|
4d476f |
- case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
|
|
|
4d476f |
- ???[sx]*):;;*)false;;esac;fi
|
|
|
4d476f |
- '\'' sh
|
|
|
4d476f |
- '
|
|
|
4d476f |
-fi
|
|
|
4d476f |
-as_executable_p=$as_test_x
|
|
|
4d476f |
+as_test_x='test -x'
|
|
|
4d476f |
+as_executable_p=as_fn_executable_p
|
|
|
4d476f |
|
|
|
4d476f |
# Sed expression to map a string onto a valid CPP name.
|
|
|
4d476f |
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
|
|
|
4d476f |
@@ -715,6 +735,7 @@ with_fifodir
|
|
|
4d476f |
with_flagdir
|
|
|
4d476f |
with_libtirpc
|
|
|
4d476f |
with_dmalloc
|
|
|
4d476f |
+enable_sloppy_mount
|
|
|
4d476f |
with_hesiod
|
|
|
4d476f |
with_openldap
|
|
|
4d476f |
with_sasl
|
|
|
4d476f |
@@ -1187,8 +1208,6 @@ target=$target_alias
|
|
|
4d476f |
if test "x$host_alias" != x; then
|
|
|
4d476f |
if test "x$build_alias" = x; then
|
|
|
4d476f |
cross_compiling=maybe
|
|
|
4d476f |
- $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
|
|
|
4d476f |
- If a cross compiler is detected then cross compile mode will be used" >&2
|
|
|
4d476f |
elif test "x$build_alias" != "x$host_alias"; then
|
|
|
4d476f |
cross_compiling=yes
|
|
|
4d476f |
fi
|
|
|
4d476f |
@@ -1341,6 +1360,7 @@ Optional Features:
|
|
|
4d476f |
--disable-option-checking ignore unrecognized --enable/--with options
|
|
|
4d476f |
--disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
|
|
|
4d476f |
--enable-FEATURE[=ARG] include FEATURE [ARG=yes]
|
|
|
4d476f |
+ --enable-sloppy-mount enable the use of the -s option to mount
|
|
|
4d476f |
--disable-ext-env disable search in environment for substitution variable
|
|
|
4d476f |
--disable-mount-locking disable use of locking when spawning mount command
|
|
|
4d476f |
--enable-force-shutdown enable USR1 signal to force unlink umount of any
|
|
|
4d476f |
@@ -1442,9 +1462,9 @@ test -n "$ac_init_help" && exit $ac_status
|
|
|
4d476f |
if $ac_init_version; then
|
|
|
4d476f |
cat <<\_ACEOF
|
|
|
4d476f |
configure
|
|
|
4d476f |
-generated by GNU Autoconf 2.68
|
|
|
4d476f |
+generated by GNU Autoconf 2.69
|
|
|
4d476f |
|
|
|
4d476f |
-Copyright (C) 2010 Free Software Foundation, Inc.
|
|
|
4d476f |
+Copyright (C) 2012 Free Software Foundation, Inc.
|
|
|
4d476f |
This configure script is free software; the Free Software Foundation
|
|
|
4d476f |
gives unlimited permission to copy, distribute and modify it.
|
|
|
4d476f |
_ACEOF
|
|
|
4d476f |
@@ -1520,7 +1540,7 @@ $as_echo "$ac_try_echo"; } >&5
|
|
|
4d476f |
test ! -s conftest.err
|
|
|
4d476f |
} && test -s conftest$ac_exeext && {
|
|
|
4d476f |
test "$cross_compiling" = yes ||
|
|
|
4d476f |
- $as_test_x conftest$ac_exeext
|
|
|
4d476f |
+ test -x conftest$ac_exeext
|
|
|
4d476f |
}; then :
|
|
|
4d476f |
ac_retval=0
|
|
|
4d476f |
else
|
|
|
4d476f |
@@ -1740,7 +1760,7 @@ This file contains any messages produced by compilers while
|
|
|
4d476f |
running configure, to aid debugging if configure makes a mistake.
|
|
|
4d476f |
|
|
|
4d476f |
It was created by $as_me, which was
|
|
|
4d476f |
-generated by GNU Autoconf 2.68. Invocation command line was
|
|
|
4d476f |
+generated by GNU Autoconf 2.69. Invocation command line was
|
|
|
4d476f |
|
|
|
4d476f |
$ $0 $@
|
|
|
4d476f |
|
|
|
4d476f |
@@ -2324,7 +2344,7 @@ do
|
|
|
4d476f |
IFS=$as_save_IFS
|
|
|
4d476f |
test -z "$as_dir" && as_dir=.
|
|
|
4d476f |
for ac_exec_ext in '' $ac_executable_extensions; do
|
|
|
4d476f |
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
|
|
4d476f |
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
|
|
4d476f |
ac_cv_prog_CC="${ac_tool_prefix}gcc"
|
|
|
4d476f |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
|
4d476f |
break 2
|
|
|
4d476f |
@@ -2364,7 +2384,7 @@ do
|
|
|
4d476f |
IFS=$as_save_IFS
|
|
|
4d476f |
test -z "$as_dir" && as_dir=.
|
|
|
4d476f |
for ac_exec_ext in '' $ac_executable_extensions; do
|
|
|
4d476f |
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
|
|
4d476f |
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
|
|
4d476f |
ac_cv_prog_ac_ct_CC="gcc"
|
|
|
4d476f |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
|
4d476f |
break 2
|
|
|
4d476f |
@@ -2417,7 +2437,7 @@ do
|
|
|
4d476f |
IFS=$as_save_IFS
|
|
|
4d476f |
test -z "$as_dir" && as_dir=.
|
|
|
4d476f |
for ac_exec_ext in '' $ac_executable_extensions; do
|
|
|
4d476f |
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
|
|
4d476f |
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
|
|
4d476f |
ac_cv_prog_CC="${ac_tool_prefix}cc"
|
|
|
4d476f |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
|
4d476f |
break 2
|
|
|
4d476f |
@@ -2458,7 +2478,7 @@ do
|
|
|
4d476f |
IFS=$as_save_IFS
|
|
|
4d476f |
test -z "$as_dir" && as_dir=.
|
|
|
4d476f |
for ac_exec_ext in '' $ac_executable_extensions; do
|
|
|
4d476f |
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
|
|
4d476f |
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
|
|
4d476f |
if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
|
|
|
4d476f |
ac_prog_rejected=yes
|
|
|
4d476f |
continue
|
|
|
4d476f |
@@ -2516,7 +2536,7 @@ do
|
|
|
4d476f |
IFS=$as_save_IFS
|
|
|
4d476f |
test -z "$as_dir" && as_dir=.
|
|
|
4d476f |
for ac_exec_ext in '' $ac_executable_extensions; do
|
|
|
4d476f |
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
|
|
4d476f |
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
|
|
4d476f |
ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
|
|
|
4d476f |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
|
4d476f |
break 2
|
|
|
4d476f |
@@ -2560,7 +2580,7 @@ do
|
|
|
4d476f |
IFS=$as_save_IFS
|
|
|
4d476f |
test -z "$as_dir" && as_dir=.
|
|
|
4d476f |
for ac_exec_ext in '' $ac_executable_extensions; do
|
|
|
4d476f |
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
|
|
4d476f |
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
|
|
4d476f |
ac_cv_prog_ac_ct_CC="$ac_prog"
|
|
|
4d476f |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
|
4d476f |
break 2
|
|
|
4d476f |
@@ -3006,8 +3026,7 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
|
4d476f |
/* end confdefs.h. */
|
|
|
4d476f |
#include <stdarg.h>
|
|
|
4d476f |
#include <stdio.h>
|
|
|
4d476f |
-#include <sys/types.h>
|
|
|
4d476f |
-#include <sys/stat.h>
|
|
|
4d476f |
+struct stat;
|
|
|
4d476f |
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
|
|
|
4d476f |
struct buf { int x; };
|
|
|
4d476f |
FILE * (*rcsopen) (struct buf *, struct stat *, int);
|
|
|
4d476f |
@@ -3209,7 +3228,7 @@ do
|
|
|
4d476f |
IFS=$as_save_IFS
|
|
|
4d476f |
test -z "$as_dir" && as_dir=.
|
|
|
4d476f |
for ac_exec_ext in '' $ac_executable_extensions; do
|
|
|
4d476f |
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
|
|
4d476f |
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
|
|
4d476f |
ac_cv_path_MOUNT="$as_dir/$ac_word$ac_exec_ext"
|
|
|
4d476f |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
|
4d476f |
break 2
|
|
|
4d476f |
@@ -3269,7 +3288,7 @@ do
|
|
|
4d476f |
IFS=$as_save_IFS
|
|
|
4d476f |
test -z "$as_dir" && as_dir=.
|
|
|
4d476f |
for ac_exec_ext in '' $ac_executable_extensions; do
|
|
|
4d476f |
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
|
|
4d476f |
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
|
|
4d476f |
ac_cv_path_MOUNT_NFS="$as_dir/$ac_word$ac_exec_ext"
|
|
|
4d476f |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
|
4d476f |
break 2
|
|
|
4d476f |
@@ -3329,7 +3348,7 @@ do
|
|
|
4d476f |
IFS=$as_save_IFS
|
|
|
4d476f |
test -z "$as_dir" && as_dir=.
|
|
|
4d476f |
for ac_exec_ext in '' $ac_executable_extensions; do
|
|
|
4d476f |
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
|
|
4d476f |
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
|
|
4d476f |
ac_cv_path_UMOUNT="$as_dir/$ac_word$ac_exec_ext"
|
|
|
4d476f |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
|
4d476f |
break 2
|
|
|
4d476f |
@@ -3389,7 +3408,7 @@ do
|
|
|
4d476f |
IFS=$as_save_IFS
|
|
|
4d476f |
test -z "$as_dir" && as_dir=.
|
|
|
4d476f |
for ac_exec_ext in '' $ac_executable_extensions; do
|
|
|
4d476f |
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
|
|
4d476f |
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
|
|
4d476f |
ac_cv_path_E2FSCK="$as_dir/$ac_word$ac_exec_ext"
|
|
|
4d476f |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
|
4d476f |
break 2
|
|
|
4d476f |
@@ -3448,7 +3467,7 @@ do
|
|
|
4d476f |
IFS=$as_save_IFS
|
|
|
4d476f |
test -z "$as_dir" && as_dir=.
|
|
|
4d476f |
for ac_exec_ext in '' $ac_executable_extensions; do
|
|
|
4d476f |
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
|
|
4d476f |
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
|
|
4d476f |
ac_cv_path_E3FSCK="$as_dir/$ac_word$ac_exec_ext"
|
|
|
4d476f |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
|
4d476f |
break 2
|
|
|
4d476f |
@@ -3507,7 +3526,7 @@ do
|
|
|
4d476f |
IFS=$as_save_IFS
|
|
|
4d476f |
test -z "$as_dir" && as_dir=.
|
|
|
4d476f |
for ac_exec_ext in '' $ac_executable_extensions; do
|
|
|
4d476f |
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
|
|
4d476f |
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
|
|
4d476f |
ac_cv_path_E4FSCK="$as_dir/$ac_word$ac_exec_ext"
|
|
|
4d476f |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
|
4d476f |
break 2
|
|
|
4d476f |
@@ -3566,7 +3585,7 @@ do
|
|
|
4d476f |
IFS=$as_save_IFS
|
|
|
4d476f |
test -z "$as_dir" && as_dir=.
|
|
|
4d476f |
for ac_exec_ext in '' $ac_executable_extensions; do
|
|
|
4d476f |
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
|
|
4d476f |
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
|
|
4d476f |
ac_cv_path_MODPROBE="$as_dir/$ac_word$ac_exec_ext"
|
|
|
4d476f |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
|
4d476f |
break 2
|
|
|
4d476f |
@@ -3626,7 +3645,7 @@ do
|
|
|
4d476f |
IFS=$as_save_IFS
|
|
|
4d476f |
test -z "$as_dir" && as_dir=.
|
|
|
4d476f |
for ac_exec_ext in '' $ac_executable_extensions; do
|
|
|
4d476f |
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
|
|
4d476f |
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
|
|
4d476f |
ac_cv_path_LEX="$as_dir/$ac_word$ac_exec_ext"
|
|
|
4d476f |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
|
4d476f |
break 2
|
|
|
4d476f |
@@ -3682,7 +3701,7 @@ do
|
|
|
4d476f |
IFS=$as_save_IFS
|
|
|
4d476f |
test -z "$as_dir" && as_dir=.
|
|
|
4d476f |
for ac_exec_ext in '' $ac_executable_extensions; do
|
|
|
4d476f |
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
|
|
4d476f |
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
|
|
4d476f |
ac_cv_path_YACC="$as_dir/$ac_word$ac_exec_ext"
|
|
|
4d476f |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
|
4d476f |
break 2
|
|
|
4d476f |
@@ -3738,7 +3757,7 @@ do
|
|
|
4d476f |
IFS=$as_save_IFS
|
|
|
4d476f |
test -z "$as_dir" && as_dir=.
|
|
|
4d476f |
for ac_exec_ext in '' $ac_executable_extensions; do
|
|
|
4d476f |
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
|
|
4d476f |
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
|
|
4d476f |
ac_cv_path_RANLIB="$as_dir/$ac_word$ac_exec_ext"
|
|
|
4d476f |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
|
4d476f |
break 2
|
|
|
4d476f |
@@ -3794,7 +3813,7 @@ do
|
|
|
4d476f |
IFS=$as_save_IFS
|
|
|
4d476f |
test -z "$as_dir" && as_dir=.
|
|
|
4d476f |
for ac_exec_ext in '' $ac_executable_extensions; do
|
|
|
4d476f |
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
|
|
4d476f |
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
|
|
4d476f |
ac_cv_path_RPCGEN="$as_dir/$ac_word$ac_exec_ext"
|
|
|
4d476f |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
|
4d476f |
break 2
|
|
|
4d476f |
@@ -3858,13 +3877,19 @@ fi
|
|
|
4d476f |
# Newer mounts have the -s (sloppy) option to ignore unknown options,
|
|
|
4d476f |
# good for portability
|
|
|
4d476f |
#
|
|
|
4d476f |
-if test -n "$MOUNT" ; then
|
|
|
4d476f |
+# Check whether --enable-sloppy-mount was given.
|
|
|
4d476f |
+if test "${enable_sloppy_mount+set}" = set; then :
|
|
|
4d476f |
+ enableval=$enable_sloppy_mount;
|
|
|
4d476f |
+else
|
|
|
4d476f |
+ enable_sloppy_mount=auto
|
|
|
4d476f |
+fi
|
|
|
4d476f |
+
|
|
|
4d476f |
+if test x$enable_sloppy_mount = xauto; then
|
|
|
4d476f |
+ if test -n "$MOUNT" ; then
|
|
|
4d476f |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if mount accepts the -s option" >&5
|
|
|
4d476f |
$as_echo_n "checking if mount accepts the -s option... " >&6; }
|
|
|
4d476f |
if "$MOUNT" -s > /dev/null 2>&1 ; then
|
|
|
4d476f |
-
|
|
|
4d476f |
-$as_echo "#define HAVE_SLOPPY_MOUNT 1" >>confdefs.h
|
|
|
4d476f |
-
|
|
|
4d476f |
+ enable_sloppy_mount=yes
|
|
|
4d476f |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
|
|
|
4d476f |
$as_echo "yes" >&6; }
|
|
|
4d476f |
else
|
|
|
4d476f |
@@ -3872,6 +3897,12 @@ $as_echo "yes" >&6; }
|
|
|
4d476f |
$as_echo "no" >&6; }
|
|
|
4d476f |
fi
|
|
|
4d476f |
fi
|
|
|
4d476f |
+fi
|
|
|
4d476f |
+if test x$enable_sloppy_mount = xyes; then
|
|
|
4d476f |
+
|
|
|
4d476f |
+$as_echo "#define HAVE_SLOPPY_MOUNT 1" >>confdefs.h
|
|
|
4d476f |
+
|
|
|
4d476f |
+fi
|
|
|
4d476f |
|
|
|
4d476f |
# LDAP SASL auth needs libxml and Kerberos
|
|
|
4d476f |
for ac_prog in xml2-config
|
|
|
4d476f |
@@ -3894,7 +3925,7 @@ do
|
|
|
4d476f |
IFS=$as_save_IFS
|
|
|
4d476f |
test -z "$as_dir" && as_dir=.
|
|
|
4d476f |
for ac_exec_ext in '' $ac_executable_extensions; do
|
|
|
4d476f |
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
|
|
4d476f |
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
|
|
4d476f |
ac_cv_path_XML_CONFIG="$as_dir/$ac_word$ac_exec_ext"
|
|
|
4d476f |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
|
4d476f |
break 2
|
|
|
4d476f |
@@ -3969,7 +4000,7 @@ do
|
|
|
4d476f |
IFS=$as_save_IFS
|
|
|
4d476f |
test -z "$as_dir" && as_dir=.
|
|
|
4d476f |
for ac_exec_ext in '' $ac_executable_extensions; do
|
|
|
4d476f |
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
|
|
4d476f |
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
|
|
4d476f |
ac_cv_path_KRB5_CONFIG="$as_dir/$ac_word$ac_exec_ext"
|
|
|
4d476f |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
|
4d476f |
break 2
|
|
|
4d476f |
@@ -4387,7 +4418,7 @@ do
|
|
|
4d476f |
for ac_prog in grep ggrep; do
|
|
|
4d476f |
for ac_exec_ext in '' $ac_executable_extensions; do
|
|
|
4d476f |
ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
|
|
|
4d476f |
- { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
|
|
|
4d476f |
+ as_fn_executable_p "$ac_path_GREP" || continue
|
|
|
4d476f |
# Check for GNU ac_path_GREP and select it if it is found.
|
|
|
4d476f |
# Check for GNU $ac_path_GREP
|
|
|
4d476f |
case `"$ac_path_GREP" --version 2>&1` in
|
|
|
4d476f |
@@ -4453,7 +4484,7 @@ do
|
|
|
4d476f |
for ac_prog in egrep; do
|
|
|
4d476f |
for ac_exec_ext in '' $ac_executable_extensions; do
|
|
|
4d476f |
ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
|
|
|
4d476f |
- { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
|
|
|
4d476f |
+ as_fn_executable_p "$ac_path_EGREP" || continue
|
|
|
4d476f |
# Check for GNU ac_path_EGREP and select it if it is found.
|
|
|
4d476f |
# Check for GNU $ac_path_EGREP
|
|
|
4d476f |
case `"$ac_path_EGREP" --version 2>&1` in
|
|
|
4d476f |
@@ -4928,7 +4959,7 @@ do
|
|
|
4d476f |
IFS=$as_save_IFS
|
|
|
4d476f |
test -z "$as_dir" && as_dir=.
|
|
|
4d476f |
for ac_exec_ext in '' $ac_executable_extensions; do
|
|
|
4d476f |
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
|
|
4d476f |
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
|
|
4d476f |
ac_cv_prog_CC="${ac_tool_prefix}gcc"
|
|
|
4d476f |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
|
4d476f |
break 2
|
|
|
4d476f |
@@ -4968,7 +4999,7 @@ do
|
|
|
4d476f |
IFS=$as_save_IFS
|
|
|
4d476f |
test -z "$as_dir" && as_dir=.
|
|
|
4d476f |
for ac_exec_ext in '' $ac_executable_extensions; do
|
|
|
4d476f |
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
|
|
4d476f |
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
|
|
4d476f |
ac_cv_prog_ac_ct_CC="gcc"
|
|
|
4d476f |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
|
4d476f |
break 2
|
|
|
4d476f |
@@ -5021,7 +5052,7 @@ do
|
|
|
4d476f |
IFS=$as_save_IFS
|
|
|
4d476f |
test -z "$as_dir" && as_dir=.
|
|
|
4d476f |
for ac_exec_ext in '' $ac_executable_extensions; do
|
|
|
4d476f |
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
|
|
4d476f |
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
|
|
4d476f |
ac_cv_prog_CC="${ac_tool_prefix}cc"
|
|
|
4d476f |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
|
4d476f |
break 2
|
|
|
4d476f |
@@ -5062,7 +5093,7 @@ do
|
|
|
4d476f |
IFS=$as_save_IFS
|
|
|
4d476f |
test -z "$as_dir" && as_dir=.
|
|
|
4d476f |
for ac_exec_ext in '' $ac_executable_extensions; do
|
|
|
4d476f |
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
|
|
4d476f |
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
|
|
4d476f |
if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
|
|
|
4d476f |
ac_prog_rejected=yes
|
|
|
4d476f |
continue
|
|
|
4d476f |
@@ -5120,7 +5151,7 @@ do
|
|
|
4d476f |
IFS=$as_save_IFS
|
|
|
4d476f |
test -z "$as_dir" && as_dir=.
|
|
|
4d476f |
for ac_exec_ext in '' $ac_executable_extensions; do
|
|
|
4d476f |
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
|
|
4d476f |
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
|
|
4d476f |
ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
|
|
|
4d476f |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
|
4d476f |
break 2
|
|
|
4d476f |
@@ -5164,7 +5195,7 @@ do
|
|
|
4d476f |
IFS=$as_save_IFS
|
|
|
4d476f |
test -z "$as_dir" && as_dir=.
|
|
|
4d476f |
for ac_exec_ext in '' $ac_executable_extensions; do
|
|
|
4d476f |
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
|
|
4d476f |
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
|
|
4d476f |
ac_cv_prog_ac_ct_CC="$ac_prog"
|
|
|
4d476f |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
|
4d476f |
break 2
|
|
|
4d476f |
@@ -5360,8 +5391,7 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
|
4d476f |
/* end confdefs.h. */
|
|
|
4d476f |
#include <stdarg.h>
|
|
|
4d476f |
#include <stdio.h>
|
|
|
4d476f |
-#include <sys/types.h>
|
|
|
4d476f |
-#include <sys/stat.h>
|
|
|
4d476f |
+struct stat;
|
|
|
4d476f |
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
|
|
|
4d476f |
struct buf { int x; };
|
|
|
4d476f |
FILE * (*rcsopen) (struct buf *, struct stat *, int);
|
|
|
4d476f |
@@ -5882,16 +5912,16 @@ if (echo >conf$$.file) 2>/dev/null; then
|
|
|
4d476f |
# ... but there are two gotchas:
|
|
|
4d476f |
# 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
|
|
|
4d476f |
# 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
|
|
|
4d476f |
- # In both cases, we have to default to `cp -p'.
|
|
|
4d476f |
+ # In both cases, we have to default to `cp -pR'.
|
|
|
4d476f |
ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
|
|
|
4d476f |
- as_ln_s='cp -p'
|
|
|
4d476f |
+ as_ln_s='cp -pR'
|
|
|
4d476f |
elif ln conf$$.file conf$$ 2>/dev/null; then
|
|
|
4d476f |
as_ln_s=ln
|
|
|
4d476f |
else
|
|
|
4d476f |
- as_ln_s='cp -p'
|
|
|
4d476f |
+ as_ln_s='cp -pR'
|
|
|
4d476f |
fi
|
|
|
4d476f |
else
|
|
|
4d476f |
- as_ln_s='cp -p'
|
|
|
4d476f |
+ as_ln_s='cp -pR'
|
|
|
4d476f |
fi
|
|
|
4d476f |
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
|
|
|
4d476f |
rmdir conf$$.dir 2>/dev/null
|
|
|
4d476f |
@@ -5951,28 +5981,16 @@ else
|
|
|
4d476f |
as_mkdir_p=false
|
|
|
4d476f |
fi
|
|
|
4d476f |
|
|
|
4d476f |
-if test -x / >/dev/null 2>&1; then
|
|
|
4d476f |
- as_test_x='test -x'
|
|
|
4d476f |
-else
|
|
|
4d476f |
- if ls -dL / >/dev/null 2>&1; then
|
|
|
4d476f |
- as_ls_L_option=L
|
|
|
4d476f |
- else
|
|
|
4d476f |
- as_ls_L_option=
|
|
|
4d476f |
- fi
|
|
|
4d476f |
- as_test_x='
|
|
|
4d476f |
- eval sh -c '\''
|
|
|
4d476f |
- if test -d "$1"; then
|
|
|
4d476f |
- test -d "$1/.";
|
|
|
4d476f |
- else
|
|
|
4d476f |
- case $1 in #(
|
|
|
4d476f |
- -*)set "./$1";;
|
|
|
4d476f |
- esac;
|
|
|
4d476f |
- case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
|
|
|
4d476f |
- ???[sx]*):;;*)false;;esac;fi
|
|
|
4d476f |
- '\'' sh
|
|
|
4d476f |
- '
|
|
|
4d476f |
-fi
|
|
|
4d476f |
-as_executable_p=$as_test_x
|
|
|
4d476f |
+
|
|
|
4d476f |
+# as_fn_executable_p FILE
|
|
|
4d476f |
+# -----------------------
|
|
|
4d476f |
+# Test if FILE is an executable regular file.
|
|
|
4d476f |
+as_fn_executable_p ()
|
|
|
4d476f |
+{
|
|
|
4d476f |
+ test -f "$1" && test -x "$1"
|
|
|
4d476f |
+} # as_fn_executable_p
|
|
|
4d476f |
+as_test_x='test -x'
|
|
|
4d476f |
+as_executable_p=as_fn_executable_p
|
|
|
4d476f |
|
|
|
4d476f |
# Sed expression to map a string onto a valid CPP name.
|
|
|
4d476f |
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
|
|
|
4d476f |
@@ -5994,7 +6012,7 @@ cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
|
|
|
4d476f |
# values after options handling.
|
|
|
4d476f |
ac_log="
|
|
|
4d476f |
This file was extended by $as_me, which was
|
|
|
4d476f |
-generated by GNU Autoconf 2.68. Invocation command line was
|
|
|
4d476f |
+generated by GNU Autoconf 2.69. Invocation command line was
|
|
|
4d476f |
|
|
|
4d476f |
CONFIG_FILES = $CONFIG_FILES
|
|
|
4d476f |
CONFIG_HEADERS = $CONFIG_HEADERS
|
|
|
4d476f |
@@ -6056,10 +6074,10 @@ cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
|
|
|
4d476f |
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
|
|
|
4d476f |
ac_cs_version="\\
|
|
|
4d476f |
config.status
|
|
|
4d476f |
-configured by $0, generated by GNU Autoconf 2.68,
|
|
|
4d476f |
+configured by $0, generated by GNU Autoconf 2.69,
|
|
|
4d476f |
with options \\"\$ac_cs_config\\"
|
|
|
4d476f |
|
|
|
4d476f |
-Copyright (C) 2010 Free Software Foundation, Inc.
|
|
|
4d476f |
+Copyright (C) 2012 Free Software Foundation, Inc.
|
|
|
4d476f |
This config.status script is free software; the Free Software Foundation
|
|
|
4d476f |
gives unlimited permission to copy, distribute and modify it."
|
|
|
4d476f |
|
|
|
4d476f |
@@ -6147,7 +6165,7 @@ fi
|
|
|
4d476f |
_ACEOF
|
|
|
4d476f |
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
|
|
|
4d476f |
if \$ac_cs_recheck; then
|
|
|
4d476f |
- set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
|
|
|
4d476f |
+ set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
|
|
|
4d476f |
shift
|
|
|
4d476f |
\$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
|
|
|
4d476f |
CONFIG_SHELL='$SHELL'
|
|
|
4d476f |
diff --git a/configure.in b/configure.in
|
|
|
4d476f |
index 4029375..559045a 100644
|
|
|
4d476f |
--- a/configure.in
|
|
|
4d476f |
+++ b/configure.in
|
|
|
4d476f |
@@ -157,7 +157,15 @@ AC_SUBST(sssldir)
|
|
|
4d476f |
# Newer mounts have the -s (sloppy) option to ignore unknown options,
|
|
|
4d476f |
# good for portability
|
|
|
4d476f |
#
|
|
|
4d476f |
-AF_SLOPPY_MOUNT()
|
|
|
4d476f |
+AC_ARG_ENABLE(sloppy-mount,
|
|
|
4d476f |
+[ --enable-sloppy-mount enable the use of the -s option to mount],,
|
|
|
4d476f |
+ enable_sloppy_mount=auto)
|
|
|
4d476f |
+if test x$enable_sloppy_mount = xauto; then
|
|
|
4d476f |
+ AF_SLOPPY_MOUNT()
|
|
|
4d476f |
+fi
|
|
|
4d476f |
+if test x$enable_sloppy_mount = xyes; then
|
|
|
4d476f |
+ AC_DEFINE(HAVE_SLOPPY_MOUNT, 1, [define if the mount command supports the -s option])
|
|
|
4d476f |
+fi
|
|
|
4d476f |
|
|
|
4d476f |
# LDAP SASL auth needs libxml and Kerberos
|
|
|
4d476f |
AF_CHECK_LIBXML()
|