diff options
author | timjosling <timjosling@138bc75d-0d04-0410-961f-82ee72b054a4> | 2002-07-14 01:59:15 +0000 |
---|---|---|
committer | timjosling <timjosling@138bc75d-0d04-0410-961f-82ee72b054a4> | 2002-07-14 01:59:15 +0000 |
commit | 776c30b832ece6ccc124c8c06a049d24cb063c16 (patch) | |
tree | 2f21865689bba6b9b86d1c23e3bc5f9616a18379 /gcc/configure.in | |
parent | 4b54e6e076662e08452453f6272903834dc87b75 (diff) | |
download | gcc-776c30b832ece6ccc124c8c06a049d24cb063c16.tar.gz |
Make gengtype.c language independent.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55436 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/configure.in')
-rw-r--r-- | gcc/configure.in | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/gcc/configure.in b/gcc/configure.in index 2b6de1780ad..da47e022cad 100644 --- a/gcc/configure.in +++ b/gcc/configure.in @@ -2408,6 +2408,9 @@ all_outputs='Makefile intl/Makefile fixinc/Makefile gccbug mklibgcc mkheaders' all_lang_makefiles= # Files for gengtype all_gtfiles="$config_gtfiles" +# Files for gengtype with language +all_gtfiles_files_langs= +all_gtfiles_files_files= # Add the language fragments. # Languages are added via two mechanisms. Some information must be @@ -2448,9 +2451,31 @@ do all_stagestuff="$all_stagestuff $stagestuff" all_outputs="$all_outputs $outputs" all_gtfiles="$all_gtfiles $gtfiles" + for f in .. $gtfiles + do + if test $f != ".." + then + all_gtfiles_files_langs="$all_gtfiles_files_langs ${s} " + all_gtfiles_files_files="$all_gtfiles_files_files ${f} " + fi + done fi done +# Pick up gtfiles for c +gtfiles= +s="c" +. ${srcdir}/c-config-lang.in +all_gtfiles="$all_gtfiles $gtfiles" +for f in .. $gtfiles +do + if test $f != ".." + then + all_gtfiles_files_langs="$all_gtfiles_files_langs ${s} " + all_gtfiles_files_files="$all_gtfiles_files_files ${f} " + fi +done + check_languages= for language in .. $all_languages do @@ -2578,9 +2603,12 @@ ${CONFIG_SHELL-/bin/sh} $srcdir/configure.frag $srcdir "$subdirs" "$dep_host_xma # Substitute configuration variables AC_SUBST(subdirs) +AC_SUBST(srcdir) AC_SUBST(all_boot_languages) AC_SUBST(all_compilers) AC_SUBST(all_gtfiles) +AC_SUBST(all_gtfiles_files_langs) +AC_SUBST(all_gtfiles_files_files) AC_SUBST(all_lang_makefiles) AC_SUBST(all_languages) AC_SUBST(all_stagestuff) |