[ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
The C++ library configure system, written by Per Bothner, deserves special mention. It uses Cygnus configure, but it does feature testing like that done by autoconf generated `configure' scripts. This approach is used in the libraries `libio', `libstdc++', and `libg++'.
Most of the `Makefile' information is written out by the shell script `libio/config.shared'. Each `configure.in' file sets certain shell variables, and then invokes `config.shared' to create two package `Makefile' fragments. These fragments are then incorporated into the resulting `Makefile' by the Cygnus configure script.
The file `_G_config.h' is created in the `libio' object directory by running the shell script `libio/gen-params'. This shell script uses feature tests to define macros and typedefs in `_G_config.h'.