From cbc59f0118e787e09ebded7c595bc577b35a6791 Mon Sep 17 00:00:00 2001 From: DJ Delorie Date: Tue, 13 Feb 2001 20:13:42 -0500 Subject: configure.in (check_languages): determine languages to check * configure.in (check_languages): determine languages to check * Makefile.in (check-c++): alias for check-g++ (check-f77): alias for check-g77 (CHECK_TARGETS): depend on configured languages From-SVN: r39655 --- gcc/configure | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'gcc/configure') diff --git a/gcc/configure b/gcc/configure index c5c9b02..c6ab580 100755 --- a/gcc/configure +++ b/gcc/configure @@ -6638,6 +6638,15 @@ do fi done +check_languages= +for language in .. $all_languages +do + if test $language != ".." + then + check_languages="$check_languages check-$language" + fi +done + # Since we can't use `::' targets, we link each language in # with a set of hooks, reached indirectly via lang.${target}. @@ -6821,6 +6830,7 @@ ${CONFIG_SHELL-/bin/sh} $srcdir/configure.frag $srcdir "$subdirs" "$dep_host_xma + # Echo that links are built if test x$host = x$target then @@ -7084,6 +7094,7 @@ s%@all_stagestuff@%$all_stagestuff%g s%@build_exeext@%$build_exeext%g s%@build_install_headers_dir@%$build_install_headers_dir%g s%@build_xm_file_list@%$build_xm_file_list%g +s%@check_languages@%$check_languages%g s%@cc_set_by_configure@%$cc_set_by_configure%g s%@quoted_cc_set_by_configure@%$quoted_cc_set_by_configure%g s%@cpp_install_dir@%$cpp_install_dir%g -- cgit v1.1