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