Don't build ncurses ADA bindings if an ADA x-compiler was not built.

/trunk/scripts/build/debug/300-gdb.sh |    1     1     0     0 +
 1 file changed, 1 insertion(+)
This commit is contained in:
Yann E. MORIN" 2008-06-24 15:44:55 +00:00
parent 89f6ee877e
commit bf27958b7d

View File

@ -98,6 +98,7 @@ do_debug_gdb_build() {
ncurses_opts=
[ "${CT_CC_LANG_CXX}" = "y" ] || ncurses_opts="${ncurses_opts} --without-cxx --without-cxx-binding"
[ "${CT_CC_LANG_ADA}" = "y" ] || ncurses_opts="${ncurses_opts} --without-ada"
"${CT_SRC_DIR}/ncurses-${CT_NCURSES_VERSION}/configure" \
--build=${CT_BUILD} \