Build/configure

How to use the x3270 family configure script.

The basic way to configure an x3270 family build on a POSIX system is with this command: ./configure

Selective configure
If you only want to build a subset of the programs, you can limit the scope of the configure script with the following options. Note that the options are cumulative, so you can specify exactly the set of programs you want.
 * --enable-unix
 * --disable-unix
 * Include or exclude all of the Unix programs


 * --enable-windows
 * --disable-windows
 * Include or exclude all of the Windows programs


 * --enable-x3270
 * --disable-x3270
 * Include or exclude x3270


 * --enable-c3270
 * --disable-c3270
 * Include or exclude c3270


 * --enable-s3270
 * --disable-s3270
 * Include or exclude s3270


 * --enable-tcl3270
 * --disable-tcl3270
 * Include or exclude tcl3270


 * --enable-pr3287
 * --disable-pr3287
 * Include or exclude pr3287


 * --enable-ws3270
 * --disable-ws3270
 * Include or exclude the Windows version of s3270


 * --enable-wc3270
 * --disable-wc3270
 * Include or exclude wc3270


 * --enable-wpr3287
 * --disable-wpr3287
 * Include or exclude the Windows version of pr3287

When you limit the configuration this way, it changes the top-level make targets, so make, make install, make clean and make clobber will operate only on the programs you have configured.

Common configure options
Display help message.
 * --help
 * -C
 * Use a cache for test results. Speeds up the process considerably.

Unix program configure options
These apply only to Unix programs; the options for Windows programs are fixed.
 * --prefix=prefix
 * Install architecture-independent files under prefix (defaults to /usr/local)


 * --exec-prefix=eprefix
 * Install architecture-dependent files (executables) under eprefix (defaults to prefix)


 * --bindir=dir
 * Install user executables in dir (defaults to eprefix/bin)


 * --sysconfdir=dir
 * Install configuration files (ibm_hosts, character sets) in dir (defaults to prefix/etc).


 * --disable-dbcs
 * Leave out DBCS (Double Byte Character Set) 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-stransport
 * macOS only: Do not use Secure Transport for SSL/TLS support.


 * --disable-tls
 * Leave out SSL/TLS support. This will be automatically disabled if the appropriate SSL/TLS library cannot be found.


 * --with-openssl=dir
 * Specifies the directory where the OpenSSL library is installed. Note that this option was previously called --with-ssl=.