aboutsummaryrefslogtreecommitdiffstats
path: root/README.options
blob: 517587df394373ca9b5e14ca7e04573b8813b502 (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
-*- 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 in the PATH and compile in the paths into the
daemon and modules as needed.

Sometimes the PATH of the compiling user isn't appropriate for this
task, 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


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