]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/blob - contrib/tnftp/INSTALL
MFC r368207,368607:
[FreeBSD/stable/10.git] / contrib / tnftp / INSTALL
1 INSTALLATION INTRODUCTION
2 -------------------------
3
4 This 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
13 For most systems, execute the following to compile and install tnftp:
14         ./configure
15         make
16         make install
17
18 A preformatted manual page (src/ftp.cat1) is also installed.
19 If you wish to install the source (src/ftp.1), ensure that your system
20 has up-to-date mandoc macros, such as those that are shipped with groff.
21
22
23 CONFIGURATION OPTIONS
24 ---------------------
25
26 tnftp is configured using an `autoconf' generated `configure'
27 script.  `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
45 The following environment variables can be set to override various
46 compiler 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
51 This 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