configure.in: Simplify language enabling/disabling code.
* configure.in: Simplify language enabling/disabling code. * configure: Rebuilt. * ch/config-lang.in (target_libs): Set. (build_by_default): Set to no. * cp/config-lang.in (target_libs): Set. * f/config-lang.in (target_libs): Set. * java/config-lang.in (target_libs): Set. * objc/config-lang.in (target_libs): Set. From-SVN: r38207
This commit is contained in:
parent
2a50f859e3
commit
2b60b2cb39
@ -1,3 +1,14 @@
|
||||
2000-12-12 Alexandre Oliva <aoliva@redhat.com>
|
||||
|
||||
* configure.in: Simplify language enabling/disabling code.
|
||||
* configure: Rebuilt.
|
||||
* ch/config-lang.in (target_libs): Set.
|
||||
(build_by_default): Set to no.
|
||||
* cp/config-lang.in (target_libs): Set.
|
||||
* f/config-lang.in (target_libs): Set.
|
||||
* java/config-lang.in (target_libs): Set.
|
||||
* objc/config-lang.in (target_libs): Set.
|
||||
|
||||
2000-12-12 Neil Booth <neil@daikokuya.demon.co.uk>
|
||||
|
||||
* tradcpp.c (enum node_type): Add T_ERROR.
|
||||
|
@ -1,5 +1,5 @@
|
||||
# Top level configure fragment for GNU CHILL.
|
||||
# Copyright (C) 1994 Free Software Foundation, Inc.
|
||||
# Copyright (C) 1994, 2000 Free Software Foundation, Inc.
|
||||
|
||||
#This file is part of GNU CC.
|
||||
|
||||
@ -36,3 +36,6 @@ diff_excludes="-x -x ch/chill.info*"
|
||||
|
||||
outputs=ch/Makefile
|
||||
|
||||
target_libs=target-libchill
|
||||
|
||||
build_by_default=no
|
||||
|
521
gcc/configure
vendored
521
gcc/configure
vendored
File diff suppressed because it is too large
Load Diff
@ -1499,23 +1499,19 @@ changequote(,)dnl
|
||||
${srcdir}/[*]/config-lang.in) ;;
|
||||
*)
|
||||
lang_alias=`sed -n -e 's,^language=['"'"'"'"]\(.*\)["'"'"'"'].*$,\1,p' -e 's,^language=\([^ ]*\).*$,\1,p' $lang`
|
||||
this_lang_libs=`sed -n -e 's,^target_libs=['"'"'"'"]\(.*\)["'"'"'"'].*$,\1,p' -e 's,^target_libs=\([^ ]*\).*$,\1,p' $lang`
|
||||
build_by_default=`sed -n -e 's,^build_by_default=['"'"'"'"]\(.*\)["'"'"'"'].*$,\1,p' -e 's,^build_by_default=\([^ ]*\).*$,\1,p' $lang`
|
||||
if test "x$lang_alias" = x
|
||||
then
|
||||
echo "$lang doesn't set \$language." 1>&2
|
||||
exit 1
|
||||
fi
|
||||
if test x"${enable_languages}" = xall && test x"${lang_alias}" != xCHILL; then
|
||||
add_this_lang=yes
|
||||
else
|
||||
case "${enable_languages}" in
|
||||
${lang_alias} | "${lang_alias},"* | *",${lang_alias},"* | *",${lang_alias}" )
|
||||
add_this_lang=yes
|
||||
;;
|
||||
* )
|
||||
add_this_lang=no
|
||||
;;
|
||||
esac
|
||||
fi
|
||||
case ${build_by_default},${enable_languages}, in
|
||||
*,$lang_alias,*) add_this_lang=yes ;;
|
||||
no,*) add_this_lang=no ;;
|
||||
*,all,*) add_this_lang=yes ;;
|
||||
*) add_this_lang=no ;;
|
||||
esac
|
||||
if test x"${add_this_lang}" = xyes; then
|
||||
case $lang in
|
||||
${srcdir}/ada/config-lang.in)
|
||||
|
@ -1,5 +1,5 @@
|
||||
# Top level configure fragment for GNU C++.
|
||||
# Copyright (C) 1994, 1995, 1997, 1998 Free Software Foundation, Inc.
|
||||
# Copyright (C) 1994, 1995, 1997, 1998, 2000 Free Software Foundation, Inc.
|
||||
|
||||
#This file is part of GNU CC.
|
||||
|
||||
@ -33,3 +33,5 @@ compilers="cc1plus\$(exeext)"
|
||||
stagestuff="g++\$(exeext) g++-cross\$(exeext) cc1plus\$(exeext)"
|
||||
|
||||
diff_excludes="-x parse.c -x parse.h"
|
||||
|
||||
target_libs=${libstdcxx_version}
|
||||
|
@ -1,5 +1,5 @@
|
||||
# Top level configure fragment for GNU FORTRAN.
|
||||
# Copyright (C) 1995, 1996, 1997 Free Software Foundation, Inc.
|
||||
# Copyright (C) 1995, 1996, 1997, 2000 Free Software Foundation, Inc.
|
||||
|
||||
#This file is part of GNU Fortran.
|
||||
|
||||
@ -33,3 +33,5 @@ compilers="f771\$(exeext)"
|
||||
stagestuff="g77\$(exeext) g77-cross\$(exeext) f771\$(exeext)"
|
||||
|
||||
diff_excludes="-x f/BUGS -x f/NEWS -x f/INSTALL -x f/intdoc.texi"
|
||||
|
||||
target_libs=target-libf2c
|
||||
|
@ -1,6 +1,6 @@
|
||||
# Top level configure fragment for the GNU compiler for the Java(TM)
|
||||
# language.
|
||||
# Copyright (C) 1994, 1995 Free Software Foundation, Inc.
|
||||
# Copyright (C) 1994, 1995, 2000 Free Software Foundation, Inc.
|
||||
|
||||
#This file is part of GNU CC.
|
||||
|
||||
@ -36,3 +36,5 @@ language="java"
|
||||
compilers="jc1\$(exeext) jvgenmain\$(exeext)"
|
||||
|
||||
stagestuff="jc1\$(exeext) gcj\$(exeext) jvgenmain\$(exeext) gcjh\$(exeext) jv-scan\$(exeext) jcf-dump\$(exeext)"
|
||||
|
||||
target_libs=${libgcj}
|
||||
|
@ -1,5 +1,5 @@
|
||||
# Top level configure fragment for the GNU Objective-C Runtime Library.
|
||||
# Copyright (C) 1997, 1998 Free Software Foundation, Inc.
|
||||
# Copyright (C) 1997, 1998, 2000 Free Software Foundation, Inc.
|
||||
|
||||
#This file is part of GNU CC.
|
||||
|
||||
@ -33,3 +33,5 @@ compilers="cc1obj\$(exeext)"
|
||||
stagestuff=""
|
||||
|
||||
diff_excludes="-x objc-parse.c -x objc-parse.y "
|
||||
|
||||
target_libs=target-libobjc
|
||||
|
Loading…
Reference in New Issue
Block a user