File: INSTALL

package info (click to toggle)
tnftp 20230507-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 3,172 kB
  • sloc: ansic: 30,337; sh: 4,509; makefile: 166
file content (50 lines) | stat: -rw-r--r-- 1,877 bytes parent folder | download | duplicates (2)
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
INSTALLATION INTRODUCTION
-------------------------

This file describes how to compile and install tnftp on your system.

NOTE: You will need an ANSI C compiler.

For most systems, execute the following to compile and install tnftp:
	./configure
	make
	make install


CONFIGURATION OPTIONS
---------------------

tnftp is configured using an `autoconf' generated `configure' script.

`configure' supports various options including:

* The standard `autoconf configure' options, including:
  -h, --help              display this help and exit
  --prefix=PREFIX         install architecture-independent files in PREFIX
                          [/usr/local]
  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
                          [PREFIX]

* Specific options:
  --enable-editcomplete   turn on command line editing and completion
                          (requires system or local libedit) [default=enabled]
  --enable-ipv6           enable IPv6 support (if your OS supports it)
                          [default=enabled]
  --enable-ssl            enable SSL support (requires --with-openssl)
                          [default=auto]
  --with-local-libedit    use local libedit instead of system library: yes;
                          auto (try system, fallback to local); no
                          [default=auto]
  --with-socks            enable support for (Dante) SOCKS5 proxy
                          [default=auto]
  --with-openssl=DIR      root of the OpenSSL directory

The following environment variables can be set to override various
compiler related settings.
  CC          C compiler command
  CFLAGS      C compiler flags
  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
              nonstandard directory <lib dir>

This can be achieved with:
	env CC="compiler" CFLAGS="flags" LDFLAGS="flags" ./configure