autofs/autofs-5.1.6-fix-configure-force-shutdown-check.patch

47 lines
1.4 KiB
Diff

autofs-5.1.6 - fix configure force shutdown check
From: Ian Kent <raven@themaw.net>
Not strickly broken but there is a mis-match between the --enable-force-shutdown
and the configure variable naming.
Signed-off-by: Ian Kent <raven@themaw.net>
---
CHANGELOG | 1 +
configure | 2 +-
configure.in | 2 +-
3 files changed, 3 insertions(+), 2 deletions(-)
--- autofs-5.1.6.orig/CHANGELOG
+++ autofs-5.1.6/CHANGELOG
@@ -14,6 +14,7 @@ xx/xx/2020 autofs-5.1.7
- mount_nfs.c fix local rdma share not mounting.
- fix ldap sasl reconnect problem.
- samples/ldap.schema fix.
+- fix configure force shutdown check.
07/10/2019 autofs-5.1.6
- support strictexpire mount option.
--- autofs-5.1.6.orig/configure
+++ autofs-5.1.6/configure
@@ -6379,7 +6379,7 @@ else
enableval=no
fi
-if test x$enable_forced_shutdown = xyes -o x$enableval = xyes; then
+if test x$enable_force_shutdown = xyes -o x$enableval = xyes; then
$as_echo "#define ENABLE_FORCED_SHUTDOWN 1" >>confdefs.h
--- autofs-5.1.6.orig/configure.in
+++ autofs-5.1.6/configure.in
@@ -404,7 +404,7 @@ AC_ARG_ENABLE(force-shutdown,
[ --enable-force-shutdown enable USR1 signal to force unlink umount of any
busy mounts during shutdown],,
enableval=no)
-if test x$enable_forced_shutdown = xyes -o x$enableval = xyes; then
+if test x$enable_force_shutdown = xyes -o x$enableval = xyes; then
AC_DEFINE(ENABLE_FORCED_SHUTDOWN, 1, [Enable forced shutdown on USR1 signal])
fi