+2001-02-13 DJ Delorie <dj@redhat.com>
+
+ * 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
+
Wed Feb 14 01:13:59 CET 2001 Jan Hubicka <jh@suse.cz>
* i386.md (fixsfsi2, fixdfdi2): Fix previous patch again.
-e '1,/^## All variables above are.*##/ d' >> site.exp
-@rm -f ./tmp?
-CHECK_TARGETS = check-gcc check-g++ check-g77 check-objc @CHECK_PO@
+CHECK_TARGETS = check-gcc @check_languages@ @CHECK_PO@
+
+check-c++ : check-g++
+check-f77 : check-g77
+check-java :
check: $(CHECK_TARGETS)
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}.
+
# Echo that links are built
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
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}.
AC_SUBST(build_exeext)
AC_SUBST(build_install_headers_dir)
AC_SUBST(build_xm_file_list)
+AC_SUBST(check_languages)
AC_SUBST(cc_set_by_configure)
AC_SUBST(quoted_cc_set_by_configure)
AC_SUBST(cpp_install_dir)