summaryrefslogtreecommitdiffstats
path: root/README.options
blob: 94f1c7b8d5fa9174de94cb5945796d063d5a03c1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
-*- text -*-
$Id$

The following options can be given to configure:

Install directory
-----------------

autofs usually installs in /usr, with the daemon in /usr/sbin, the man
pages in /usr/man, and the modules in /usr/lib/autofs.  You can change
the install root with the option

	--prefix=<root_prefix>

For example, to install autofs under /usr/local, please specify:

	./configure --prefix=/usr/local

NOTICE TO DISTRIBUTORS: Don't use this option if you want to install
autofs in a temporary directory that isn't the final destination (for
example, if you are making an autofs package for a distribution.)
Instead, you can do

	make install INSTALLROOT=/tmp/install

... which will install all files relative to /tmp/install.


Location of system binaries
---------------------------

The autofs daemon uses several system utilities, including mount,
umount, e2fsck and smbmount to do its job.  "configure" will search
for these binaries and compile in the paths into the daemon and
modules as needed.

By default it searches the following directories, in order:

	/usr/bin:/bin:/usr/sbin:/sbin

Sometimes this search path isn't appropriate; i.e. it contains
binaries that shouldn't be used, or it doesn't contain all the needed
binaries.  If so, specify the
	
	--with-path=<PATH>

option, for example:

	./configure --with-path=/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin


Hesiod support
--------------

To enable Hesiod support, if your Hesiod library isn't installed in
/usr/lib with the include files in /usr/include, please specify the
option:

	--with-hesiod=<hesiod_root>

For example, if your Hesiod library lives in /usr/athena/lib and the
include files in /usr/athena/include, please specify:

	./configure --with-hesiod=/usr/athena


OpenLDAP support
----------------

To enable  support, if your OpenLDAP library isn't installed in
/usr/lib with the include files in /usr/include, please specify the
option:

	--with-openldap=<openldap_root>

For example, if your OpenLDAP library lives in /opt/openldap/lib and the
include files in /opt/openldap/include, please specify:

	./configure --with-openldap=/opt/openldap