mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-03-11 20:27:30 +08:00
configure: Rebuilt.
* configure: Rebuilt. * configure.in: Allow config-lang.in to set `lang_requires' to list of other required languages. From-SVN: r40308
This commit is contained in:
parent
bcacc465c4
commit
75382c6dc6
@ -1,3 +1,9 @@
|
||||
2001-03-07 Tom Tromey <tromey@redhat.com>
|
||||
|
||||
* configure: Rebuilt.
|
||||
* configure.in: Allow config-lang.in to set `lang_requires' to list
|
||||
of other required languages.
|
||||
|
||||
2001-03-07 Andrew MacLeod <amacleod@redhat.com>
|
||||
|
||||
* config/a29k/a29k.c (print_operand): Free a29k_last_prologue_insn
|
||||
|
505
gcc/configure
vendored
505
gcc/configure
vendored
File diff suppressed because it is too large
Load Diff
@ -1491,6 +1491,40 @@ else
|
||||
AC_MSG_ERROR([--enable-languages needs at least one argument])
|
||||
fi
|
||||
fi
|
||||
|
||||
# First scan to see if an enabled language requires some other language.
|
||||
# We assume that a given config-lang.in will list all the language
|
||||
# front ends it requires, even if some are required indirectly.
|
||||
for lang in ${srcdir}/*/config-lang.in ..
|
||||
do
|
||||
case $lang in
|
||||
..)
|
||||
;;
|
||||
# The odd quoting in the next line works around
|
||||
# an apparent bug in bash 1.12 on linux.
|
||||
changequote(,)dnl
|
||||
${srcdir}/[*]/config-lang.in)
|
||||
;;
|
||||
*)
|
||||
lang_alias=`sed -n -e 's,^language=['"'"'"'"]\(.*\)["'"'"'"'].*$,\1,p' -e 's,^language=\([^ ]*\).*$,\1,p' $lang`
|
||||
this_lang_requires=`sed -n -e 's,^lang_requires=['"'"'"'"]\(.*\)["'"'"'"'].*$,\1,p' -e 's,^lang_requires=\([^ ]*\).*$,\1,p' $lang`
|
||||
for other in $this_lang_requires
|
||||
do
|
||||
case ,${enable_languages}, in
|
||||
*,$other,*)
|
||||
;;
|
||||
*,all,*)
|
||||
;;
|
||||
*)
|
||||
enable_languages="$enable_languages,$other"
|
||||
;;
|
||||
esac
|
||||
done
|
||||
;;
|
||||
changequote([,])dnl
|
||||
esac
|
||||
done
|
||||
|
||||
subdirs=
|
||||
for lang in ${srcdir}/*/config-lang.in ..
|
||||
do
|
||||
|
Loading…
Reference in New Issue
Block a user