config/config.in
author "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Thu Jun 02 19:50:12 2011 +0200 (2011-06-02)
changeset 2500 ba1e71fa72a9
parent 2447 bb73e7632b54
child 2650 4d299836e994
permissions -rw-r--r--
cc/gcc: CC_STATIC_LIBSTDCXX 'depends on' CONFIGURE_has_static_libstdcpp

Hide the staticaly linked libstdc++ option if the static libstdc++ is not
present, detected at configure time.

Add a blind option that says whether static linking is possible at all.
It defaults to 'y', but depends on the needed CONFIGURE_* options. For
now, it only depends on static libtdc++, but new dependencies can be
easily added.

Hide the global static toolchain option behind this new option.

Original patch by Bryan Hundven <bryanhundven@gmail.com>

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
     1 mainmenu "The crosstool-NG configuration menu"
     2 source "config/configure.in"
     3 source "config/backend.in"
     4 source "config/global.in"
     5 source "config/target.in"
     6 source "config/toolchain.in"
     7 source "config/kernel.in"
     8 source "config/binutils.in"
     9 source "config/cc.in"
    10 source "config/libc.in"
    11 source "config/debug.in"
    12 source "config/companion_libs.in"
    13 source "config/companion_tools.in"
    14 source "config/test_suite.in"