Difference between revisions of "Configuration Options"

From reSIProcate
Jump to: navigation, search
(New page: Usage: ./configure [options] Options: -y, --non-interactive Run non-interactively -m, --use-text-menu Run with text menu interface --with-toolchai...)
 
Line 1: Line 1:
 +
Because the resiprocate project does not use GNU autotools, it has its own configuration system that can be used to select various options within the project, as well as what parts of the project are built. By default, if you just type 'make', the configuration script is invoked by the makesystem, and some (mostly) sane defaults are chosen for you.
 +
 +
However, if you want to take advantage of the advanced, new, and/or experimental features available within resiprocate, you really want to take advantage of the configuration system. Currently, you have three options:
 +
 +
* <tt>./configure</tt> - Invoke the configuration system in a text questionnaire mode. This can be tedious, but should work under all terminal environments.
 +
* <tt>./configure -m</tt> - Invoke the configuration system in a (somewhat experimental) text-based menu mode. This is much easier to use, but requires a vt100-compatible that is tall enough to accommodate all the configuration options.
 +
* <tt>./configure -y</tt> - Invoke the configuration system in a non-interactive mode. Configuration options will be set to defaults if they don't yet exist, and then any configuration-changing commandline switches will be applied. If the system is already configured, no options will be changed except as specified by commandline switches.
 +
 +
 
Usage:
 
Usage:
 
   ./configure [options]
 
   ./configure [options]

Revision as of 23:26, 26 November 2008

Because the resiprocate project does not use GNU autotools, it has its own configuration system that can be used to select various options within the project, as well as what parts of the project are built. By default, if you just type 'make', the configuration script is invoked by the makesystem, and some (mostly) sane defaults are chosen for you.

However, if you want to take advantage of the advanced, new, and/or experimental features available within resiprocate, you really want to take advantage of the configuration system. Currently, you have three options:

  • ./configure - Invoke the configuration system in a text questionnaire mode. This can be tedious, but should work under all terminal environments.
  • ./configure -m - Invoke the configuration system in a (somewhat experimental) text-based menu mode. This is much easier to use, but requires a vt100-compatible that is tall enough to accommodate all the configuration options.
  • ./configure -y - Invoke the configuration system in a non-interactive mode. Configuration options will be set to defaults if they don't yet exist, and then any configuration-changing commandline switches will be applied. If the system is already configured, no options will be changed except as specified by commandline switches.


Usage:

 ./configure [options]
 Options:
     -y, --non-interactive
       Run non-interactively
     -m, --use-text-menu
       Run with text menu interface
     --with-toolchain="..."
       Which toolchain do you want to use? (Now "gnu")
       Valid values are: [gnu, intel, sunpro, msgnu, gnu-cross]
     --with-cross-platform="..."
       What is the name your toolchain uses for the cross platform? (Now "arm-unknown-linux-gnu")
     --with-cross-tool-prefix="..."
       What is the prefix for the cross-compiler binaries? (Now "arm-unknown-linux-gnu")
     --with-cross-compiler-dir="..."
       Where is your cross compiler installed? (Now "/opt/crosstool/current/arm-unknown-linux-gnu/bin/")
     --with-compile-type="..."
       What compile profile will you use? (Now "debug")
       Valid values are: [debug, nodebug, opt, gopt, prof, small]
     --enable-shared-libs
     --disable-shared-libs
       Should the resip libraries be built shared? (Now disabled)
     --enable-distcc
     --disable-distcc
       Will you be using distcc? (Now disabled)
     --enable-ccache
     --disable-ccache
       Will you be using ccache? (Now disabled)
     --enable-repro
     --disable-repro
       Build the Repro proxy server? (Now enabled)
     --repro-db="..."
       Which database should be used with Repro? (Now "berkeley-db4")
       Valid values are: [berkeley-db4]
     --db4-headers="..."
       Where is db_cxx.h? (Now "/opt/local/include/db42")
     --enable-radius
     --disable-radius
       Build the RADIUS authentication module? (requires radiusclient-ng) (Now disabled)
     --enable-tfm
     --disable-tfm
       Build the TFM test framework? (Now disabled)
     --enable-recon
     --disable-recon
       Build the reCon Conversation Manager? (requires dtls-srtp patched OpenSSL) (Now disabled)
     --enable-return-client
     --disable-return-client
       Build the reTurn client? (Now disabled)
     --enable-return-server
     --disable-return-server
       Build the reTurn server? (Now disabled)
     --boost-headers="..."
       Where is boost/config.hpp? (Now "/opt/local/include")
     --enable-sipx-installed
     --disable-sipx-installed
       Are the sipX libraries and headers installed? (Now disabled)
     --libsipx-lib="..."
       Where is the common root of the sipX libraries? (Now "../sipXtapi")
     --sipx-libdir="..."
       Where are the sipX libraries installed? (Now "/usr/local/lib")
     --sipx-incdir="..."
       Where are the sipX header files installed? (Now "/usr/local/include")
     --enable-ssl
     --disable-ssl
       Include SIP over TLS, SMIME or Identity header support? (Requires OpenSSL) (Now enabled)
     --enable-dtls
     --disable-dtls
       Do you want to include SIP over DTLS support? (Requires OpenSSL 0.9.8+) (Now disabled)
     --with-ssl-location="..."
       Where is OpenSSL? (leave blank to use installed copy) (Now "")
     --enable-curl
     --disable-curl
       Should DUM use curl to retreive identity information? (Now disabled)
     --enable-google-malloc
     --disable-google-malloc
       Use the Google malloc() implementation? (Now disabled)
     --enable-google-cpuperf
     --disable-google-cpuperf
       Use Google cpuperf? (Now disabled)
     --enable-ipv6
     --disable-ipv6
       Compile in IPv6 support? (Now disabled)
     --enable-popt
     --disable-popt
       Use popt to read commandline options? (Now enabled)
     --popt-headers="..."
       Where is popt.h? (Now "/usr/include")
     --popt-lib="..."
       Where is libpopt? (Now "/usr/lib")
     --enable-resip-fixed-point
     --disable-resip-fixed-point
       Compile with no floating point functions? (Now disabled)
     --enable-pedantic-stack
     --disable-pedantic-stack
       Force stack to fully parse every message it receives? (Now disabled)
     --prefix="..."
       Where should the libraries be installed? (Now "/usr/local")
     --with-resolver="..."
       Which DNS resolution library do you want to use? (Now "resip-ares")
       Valid values are: [resip-ares, c-ares]
     --ares-prefix="..."
       Where should ares be installed? (Now "/usr/local")
     --cares-headers="..."
       If using c-ares, the directory containing its headers. (Now "")
     --cares-libs="..."
       If using c-ares, the directory containing its libraries. (Now "")