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