xref: /freebsd/contrib/tnftp/INSTALL (revision 59c8e88e72633afbc47a4ace0d2170d00d51f7dc)
1INSTALLATION INTRODUCTION
2-------------------------
3
4This file describes how to compile and install tnftp on your system.
5
6	============================================
7	=					   =
8	=  NOTE: You will need an ANSI C compiler. =
9	=					   =
10	============================================
11
12
13For most systems, execute the following to compile and install tnftp:
14	./configure
15	make
16	make install
17
18A preformatted manual page (src/ftp.cat1) is also installed.
19If you wish to install the source (src/ftp.1), ensure that your system
20has up-to-date mandoc macros, such as those that are shipped with groff.
21
22
23CONFIGURATION OPTIONS
24---------------------
25
26tnftp is configured using an `autoconf' generated `configure'
27script.  `configure' supports the following options:
28
29* The standard `autoconf configure' options, including:
30  --prefix=PREFIX         install architecture-independent files in PREFIX
31                          [/usr/local]
32  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
33                          [same as prefix]
34  --srcdir=DIR            find the sources in DIR [configure dir or ..]
35                          BSD or GNU make may be required for this to work.
36
37* Specific options:
38  --enable-editcomplete   Turn on command line editing and completion.
39                          (default: enabled)
40  --enable-ipv6           Enable IPv6 support (if your OS supports it).
41                          (default: enabled)
42  --disable-largefile     omit support for large files
43  --with-socks            enable support for (Dante) SOCKS5 proxy
44
45The following environment variables can be set to override various
46compiler related settings.
47  CC=compiler		specify name of the C compiler (default: gcc or cc)
48  CFLAGS=flags		specify flags to C compiler (default: -O -g or just -O)
49  LDFLAGS=flags		specify flags to linker (default: none)
50
51This can be achieved with:
52	env CC="compiler" CFLAGS="flags" LDFLAGS="flags" ./configure
53
54
55	============================================
56	=					   =
57	=  NOTE: You will need an ANSI C compiler. =
58	=					   =
59	============================================
60
61