diff options
author | DJ Delorie <dj@redhat.com> | 2001-02-13 20:13:42 -0500 |
---|---|---|
committer | DJ Delorie <dj@gcc.gnu.org> | 2001-02-13 20:13:42 -0500 |
commit | cbc59f0118e787e09ebded7c595bc577b35a6791 (patch) | |
tree | 7fdb6b9ce924ba93f58e8518c05b419c4b8a5fee /gcc | |
parent | 863cd85ab56959d8e8dc8932132ed14de8f44398 (diff) | |
download | gcc-cbc59f0118e787e09ebded7c595bc577b35a6791.zip gcc-cbc59f0118e787e09ebded7c595bc577b35a6791.tar.gz gcc-cbc59f0118e787e09ebded7c595bc577b35a6791.tar.bz2 |
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
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 7 | ||||
-rw-r--r-- | gcc/Makefile.in | 6 | ||||
-rwxr-xr-x | gcc/configure | 11 | ||||
-rw-r--r-- | gcc/configure.in | 10 |
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) |