next up previous contents
Next: Known problems Up: Installation Previous: Installation procedure   Contents

Options of the configure script

In fact configure has multiple options. These options allow you to customize your Polylib installation. The usage is:
 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-int-lib Enable that only an int library is constructed
-enable-longint-lib Enable that only a long int library is constructed (default)
-enable-longlongint-lib Enable that only a long long int library is constructed
-enable-gmpint-lib Enable that only a gmp int library is constructed
-enable-allint-lib Enable that 32, 64 and gmp int library is constructed
-enable-short-exec Enable that the int library is used by the executables
  (by default, the long library is used if built)
-enable-extra-suffix Enable that the executables take an extra suffix depending
  on the library size
-enable-all-exec Enable that the two sized libraries are used to build
  two executables of each, which take an extra suffix
  depending on the library (by default, only the long library is used)
-enable-onlyshared Enable that only a shared library is constructed
-enable-onlystatic Enable that only a static library is constructed
-disable-install-lib Disable installation of the library
-with-ldconfig-cache=FILE Run ldconfig -C $<$ FILE $>$
-with-libgmp DIR Location of the GMP Distribution
You should run './configure -enable-gmpint-lib' to use gmp. As mentioned earlier you can build the Polylib if you don't have GMP, but it will fail when an overflow occurs. The output of the configure script can be find in vars.mk and vars.mk.in which are included by the makefile. For installing the lib in a private directory you can use the prefix option:
./configure --prefix=MyDir

next up previous contents
Next: Known problems Up: Installation Previous: Installation procedure   Contents
Sorin Olaru 2002-04-24