Configuring sowing


Up: Contents Next: Compiling sowing Previous: Documentation

The next step is to configure sowing for your particular computing environment. sowing can be built for most Unix systems; many of the programs can also be built for Microsoft Windows.

Configuration of sowing is done with the configure script contained in the top-level directory. This script is automatically generated by the Gnu autoconf program from the file configure.in, but you do not need to have autoconf yourself.

The configure script documents itself in the following way. If you type

    configure --help 
you will get a complete list of arguments and their meanings. So the simplest way to document the options for configure is to just show its output here:


Usage: configure [options] [host] 
Options: [defaults in brackets after descriptions] 
Configuration: 
  --cache-file=FILE       cache test results in FILE 
  --help                  print this message 
  --no-create             do not create output files 
  --quiet, --silent       do not print `checking...' messages 
  --version               print the version of autoconf that created configure 
Directory and file names: 
  --prefix=PREFIX         install architecture-independent files in PREFIX 
                          [/usr/local] 
  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX 
                          [same as prefix] 
  --bindir=DIR            user executables in DIR [EPREFIX/bin] 
  --sbindir=DIR           system admin executables in DIR [EPREFIX/sbin] 
  --libexecdir=DIR        program executables in DIR [EPREFIX/libexec] 
  --datadir=DIR           read-only architecture-independent data in DIR 
                          [PREFIX/share] 
  --sysconfdir=DIR        read-only single-machine data in DIR [PREFIX/etc] 
  --sharedstatedir=DIR    modifiable architecture-independent data in DIR 
                          [PREFIX/com] 
  --localstatedir=DIR     modifiable single-machine data in DIR [PREFIX/var] 
  --libdir=DIR            object code libraries in DIR [EPREFIX/lib] 
  --includedir=DIR        C header files in DIR [PREFIX/include] 
  --oldincludedir=DIR     C header files for non-gcc in DIR [/usr/include] 
  --infodir=DIR           info documentation in DIR [PREFIX/info] 
  --mandir=DIR            man documentation in DIR [PREFIX/man] 
  --srcdir=DIR            find the sources in DIR [configure dir or ..] 
  --program-prefix=PREFIX prepend PREFIX to installed program names 
  --program-suffix=SUFFIX append SUFFIX to installed program names 
  --program-transform-name=PROGRAM 
                          run sed PROGRAM on installed program names 
Host type: 
  --build=BUILD           configure for building on BUILD [BUILD=HOST] 
  --host=HOST             configure for HOST [guessed] 
  --target=TARGET         configure for TARGET [TARGET=HOST] 
Features and packages: 
  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no) 
  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes] 
  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes] 
  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no) 
  --x-includes=DIR        X include files are in DIR 
  --x-libraries=DIR       X library files are in DIR 
--enable and --with options recognized: 
--enable-cache  - Turn on configure caching 
 
--enable-strict - turn on strict debugging when using gcc 
 
--enable-echo   - Turn on strong echoing 
 
--enable-inplace - build the sowing program to run in the  
                   distribution directories, not the installation (/usr/local)  
                   directories 
 
--enable-memorycheck - Compile with memory checking code 
 
--with-wwwdir=directory - Specify the root directory for HTML documentation 

Normally, you should use configure with as few arguments as you can.

Some sample invocations of configure are shown below. In many case, the detailed invocations below are the defaults, which you would get if you invoked configure with no arguments.

To build and test in-place, using strict checking with the Gnu C and C++ compilers:

configure --enable-strict --datadir=`pwd`/share --prefix=`pwd` 



Up: Contents Next: Compiling sowing Previous: Documentation