179971SobrienINSTALLATION INTRODUCTION
279971Sobrien-------------------------
379971Sobrien
4223328SgavinThis file describes how to compile and install tnftp on your system.
579971Sobrien
679971Sobrien	============================================
779971Sobrien	=					   =
879971Sobrien	=  NOTE: You will need an ANSI C compiler. =
979971Sobrien	=					   =
1079971Sobrien	============================================
1179971Sobrien
1279971Sobrien
13223328SgavinFor most systems, execute the following to compile and install tnftp:
1479971Sobrien	./configure
1579971Sobrien	make
1679971Sobrien	make install
1779971Sobrien
18223328SgavinA preformatted manual page (src/ftp.cat1) is also installed.
19223328SgavinIf you wish to install the source (src/ftp.1), ensure that your system
20223328Sgavinhas up-to-date mandoc macros, such as those that are shipped with groff.
2179971Sobrien
2279971Sobrien
2379971SobrienCONFIGURATION OPTIONS
2479971Sobrien---------------------
2579971Sobrien
26223328Sgavintnftp is configured using an `autoconf' generated `configure'
2779971Sobrienscript.  `configure' supports the following options:
2879971Sobrien
2979971Sobrien* The standard `autoconf configure' options, including:
3079971Sobrien  --prefix=PREFIX         install architecture-independent files in PREFIX
3179971Sobrien                          [/usr/local]
3279971Sobrien  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
3379971Sobrien                          [same as prefix]
3479971Sobrien  --srcdir=DIR            find the sources in DIR [configure dir or ..]
3579971Sobrien                          BSD or GNU make may be required for this to work.
3679971Sobrien
3779971Sobrien* Specific options:
3879971Sobrien  --enable-editcomplete   Turn on command line editing and completion.
39223328Sgavin                          (default: enabled)
40223328Sgavin  --enable-ipv6           Enable IPv6 support (if your OS supports it).
41223328Sgavin                          (default: enabled)
42223328Sgavin  --disable-largefile     omit support for large files
43223328Sgavin  --with-socks            enable support for (Dante) SOCKS5 proxy
4479971Sobrien
4579971SobrienThe following environment variables can be set to override various
4679971Sobriencompiler related settings.
4779971Sobrien  CC=compiler		specify name of the C compiler (default: gcc or cc)
4879971Sobrien  CFLAGS=flags		specify flags to C compiler (default: -O -g or just -O)
4979971Sobrien  LDFLAGS=flags		specify flags to linker (default: none)
5079971Sobrien
5179971SobrienThis can be achieved with:
5279971Sobrien	env CC="compiler" CFLAGS="flags" LDFLAGS="flags" ./configure
5379971Sobrien
5479971Sobrien
5579971Sobrien	============================================
5679971Sobrien	=					   =
5779971Sobrien	=  NOTE: You will need an ANSI C compiler. =
5879971Sobrien	=					   =
5979971Sobrien	============================================
6079971Sobrien
61