aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gcc/ChangeLog7
-rw-r--r--gcc/Makefile.in6
-rwxr-xr-xgcc/configure11
-rw-r--r--gcc/configure.in10
4 files changed, 33 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 006f4d2..0de635f 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,10 @@
+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.
diff --git a/gcc/Makefile.in b/gcc/Makefile.in
index 4194ac8..bcc27ec 100644
--- a/gcc/Makefile.in
+++ b/gcc/Makefile.in
@@ -2775,7 +2775,11 @@ site.exp: ./config.status Makefile
-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)
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
diff --git a/gcc/configure.in b/gcc/configure.in
index 52207e6..5938792 100644
--- a/gcc/configure.in
+++ b/gcc/configure.in
@@ -1675,6 +1675,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}.
@@ -1805,6 +1814,7 @@ AC_SUBST(all_stagestuff)
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)