./configureTo install s3270 in the default install directory (/usr/local/bin), type:
make
make install
./configure LDFLAGS=-L/usr/local/lib CPPFLAGS=-I/usr/local/include
| --help | Print a help message. | 
| --prefix=prefix | Install architecture-independent files under prefix (defaults to /usr/local) | 
| --exec-prefix=eprefix | Install architecture-dependent files (executables) under eprefix (defaults to same as prefix) | 
| --bindir=dir | Install user executables (s3270, x3270if) in dir (defaults to eprefix/bin) | 
| --sysconfdir=dir | Install configuration files (character sets) in dir/x3270 (defaults to prefix/etc). | 
| --disable-ansi | Leave out NVT (ANSI) support. Note that NVT support is required for TN3270E support. | 
| --disable-apl | Leave out APL character support. | 
| --enable-dbcs | Build in DBCS (Double Byte Character Set) support. | 
| --disable-ft | Leave out IND$FILE file transfer support. | 
| --disable-local-process | Leave out local process (connecting to "-e shell_command")
support. This will be automatically disabled if the local system does not support the forkpty() library call. | 
| --disable-ssl | Leave out SSL (Secure Sockets Layer) support.  SSL
 support requires the OpenSSL library. | 
| --with-ssl=dir | Specify the directory where the OpenSSL library is
 installed. | 
| --disable-tn3270e | Leave out TN3270E support. | 
| --disable-trace | Leave out tracing support. | 
Leaving out all of the optional features will result in a smaller binary.