Blame autofs-5.0.8-fix-allow-with-systemd-to-take-a-path-arg.patch
|
Ian Kent |
c7d149 |
autofs-5.0.8 - fix allow with systemd to take a path arg
|
|
Ian Kent |
c7d149 |
|
|
Ian Kent |
c7d149 |
From: Ian Kent <ikent@redhat.com>
|
|
Ian Kent |
c7d149 |
|
|
Ian Kent |
c7d149 |
And update configure ..
|
|
Ian Kent |
c7d149 |
---
|
|
Ian Kent |
c7d149 |
configure | 10 ++++++++--
|
|
Ian Kent |
c7d149 |
1 file changed, 8 insertions(+), 2 deletions(-)
|
|
Ian Kent |
c7d149 |
|
|
Ian Kent |
c7d149 |
diff --git a/configure b/configure
|
|
Ian Kent |
c7d149 |
index 2c2e312..4e1743d 100755
|
|
Ian Kent |
c7d149 |
--- a/configure
|
|
Ian Kent |
c7d149 |
+++ b/configure
|
|
Ian Kent |
c7d149 |
@@ -1372,8 +1372,10 @@ Optional Packages:
|
|
Ian Kent |
c7d149 |
--with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
|
|
Ian Kent |
c7d149 |
--without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
|
|
Ian Kent |
c7d149 |
--with-path=PATH look in PATH for binaries needed by the automounter
|
|
Ian Kent |
c7d149 |
- --with-systemd install systemd unit file if systemd unit directory
|
|
Ian Kent |
c7d149 |
- is found on system
|
|
Ian Kent |
c7d149 |
+ --with-systemd[=systemddir] install systemd unit file. If 'yes'
|
|
Ian Kent |
c7d149 |
+ probe the system for unit directory.
|
|
Ian Kent |
c7d149 |
+ If a path is specified, assume that
|
|
Ian Kent |
c7d149 |
+ is a valid install path.
|
|
Ian Kent |
c7d149 |
--with-confdir=DIR use DIR for autofs configuration files
|
|
Ian Kent |
c7d149 |
--with-mapdir=PATH look in PATH for mount maps used by the automounter
|
|
Ian Kent |
c7d149 |
--with-fifodir=PATH use PATH as the directory for fifos used by the automounter
|
|
Ian Kent |
c7d149 |
@@ -2260,6 +2262,10 @@ $as_echo "$systemddir" >&6; }
|
|
Ian Kent |
c7d149 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
|
|
Ian Kent |
c7d149 |
$as_echo "not found" >&6; }
|
|
Ian Kent |
c7d149 |
fi
|
|
Ian Kent |
c7d149 |
+else
|
|
Ian Kent |
c7d149 |
+ if test "$withval" != no; then
|
|
Ian Kent |
c7d149 |
+ systemddir=$withval
|
|
Ian Kent |
c7d149 |
+ fi
|
|
Ian Kent |
c7d149 |
fi
|
|
Ian Kent |
c7d149 |
fi
|
|
Ian Kent |
c7d149 |
|