- updated to 5.0.8
[packages/autofs.git] / autofs-5.0.8-fix-allow-with-systemd-to-take-a-path-arg.patch
1 autofs-5.0.8 - fix allow with systemd to take a path arg
2
3 From: Ian Kent <ikent@redhat.com>
4
5 And update configure ..
6 ---
7  configure |   10 ++++++++--
8  1 file changed, 8 insertions(+), 2 deletions(-)
9
10 diff --git a/configure b/configure
11 index 2c2e312..4e1743d 100755
12 --- a/configure
13 +++ b/configure
14 @@ -1372,8 +1372,10 @@ Optional Packages:
15    --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
16    --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
17    --with-path=PATH       look in PATH for binaries needed by the automounter
18 -  --with-systemd         install systemd unit file if systemd unit directory
19 -                         is found on system
20 +  --with-systemd[=systemddir]  install systemd unit file.  If 'yes'
21 +                         probe the system for unit directory.
22 +                         If a path is specified, assume that
23 +                         is a valid install path.
24    --with-confdir=DIR     use DIR for autofs configuration files
25    --with-mapdir=PATH     look in PATH for mount maps used by the automounter
26    --with-fifodir=PATH     use PATH as the directory for fifos used by the automounter
27 @@ -2260,6 +2262,10 @@ $as_echo "$systemddir" >&6; }
28      { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
29  $as_echo "not found" >&6; }
30    fi
31 +else
32 + if test "$withval" != no; then
33 +  systemddir=$withval
34 + fi
35  fi
36  fi
37  
This page took 0.056098 seconds and 3 git commands to generate.