Sync toplevel configure with upstream GCC.

This fixes a problem, where libgloss wouldn't be built for ARC processors,
even though it is actually supported. The original patch that introduced
support for ARC in libgloss hasn't been submitted to GCC maillist, hence
when top-level configure has been synced with GCC - this libgloss patch has
been effectively reverted.

Libgloss support for ARC has been accepted in GCC:
https://gcc.gnu.org/ml/gcc-patches/2016-05/msg01148.html

ChangeLog

2016-05-17  Anton Kolesov  <Anton.Kolesov@synopsys.com>

	* configure.ac: Sync with upstream GCC.
	* configure: Regenerate.

Signed-off-by: Anton Kolesov <Anton.Kolesov@synopsys.com>
This commit is contained in:
Anton Kolesov 2016-05-17 14:08:32 +03:00 committed by Corinna Vinschen
parent e7b1ee2ea6
commit d5632bcfd4
2 changed files with 24 additions and 46 deletions

35
configure vendored
View File

@ -3446,8 +3446,6 @@ case "${target}" in
;; ;;
sh-*-* | sh[34]*-*-*) sh-*-* | sh[34]*-*-*)
;; ;;
sh64-*-* | sh5*-*-*)
;;
sparc*-*-*) sparc*-*-*)
;; ;;
x86_64-*-*) x86_64-*-*)
@ -3758,9 +3756,6 @@ case "${target}" in
sh*-*-pe|mips*-*-pe|*arm-wince-pe) sh*-*-pe|mips*-*-pe|*arm-wince-pe)
noconfigdirs="$noconfigdirs tcl tk itcl libgui sim" noconfigdirs="$noconfigdirs tcl tk itcl libgui sim"
;; ;;
arc-*-*|arceb-*-*)
noconfigdirs="$noconfigdirs target-libgloss"
;;
arm-*-pe*) arm-*-pe*)
noconfigdirs="$noconfigdirs target-libgloss" noconfigdirs="$noconfigdirs target-libgloss"
;; ;;
@ -3946,7 +3941,7 @@ case "${target}" in
or1k*-*-*) or1k*-*-*)
noconfigdirs="$noconfigdirs gdb" noconfigdirs="$noconfigdirs gdb"
;; ;;
sh-*-* | sh64-*-*) sh-*-*)
case "${target}" in case "${target}" in
sh*-*-elf) sh*-*-elf)
;; ;;
@ -5570,16 +5565,9 @@ if test "x$with_mpfr_lib" != x; then
gmplibs="-L$with_mpfr_lib $gmplibs" gmplibs="-L$with_mpfr_lib $gmplibs"
fi fi
if test "x$with_mpfr$with_mpfr_include$with_mpfr_lib" = x && test -d ${srcdir}/mpfr; then if test "x$with_mpfr$with_mpfr_include$with_mpfr_lib" = x && test -d ${srcdir}/mpfr; then
# MPFR v3.1.0 moved the sources into a src sub-directory. gmplibs='-L$$r/$(HOST_SUBDIR)/mpfr/src/'"$lt_cv_objdir $gmplibs"
if test -d ${srcdir}/mpfr/src; then gmpinc='-I$$r/$(HOST_SUBDIR)/mpfr/src -I$$s/mpfr/src '"$gmpinc"
gmplibs='-L$$r/$(HOST_SUBDIR)/mpfr/src/'"$lt_cv_objdir $gmplibs" extra_mpc_mpfr_configure_flags='--with-mpfr-include=$$s/mpfr/src --with-mpfr-lib=$$r/$(HOST_SUBDIR)/mpfr/src/'"$lt_cv_objdir"
gmpinc='-I$$r/$(HOST_SUBDIR)/mpfr/src -I$$s/mpfr/src '"$gmpinc"
extra_mpc_mpfr_configure_flags='--with-mpfr-include=$$s/mpfr/src --with-mpfr-lib=$$r/$(HOST_SUBDIR)/mpfr/src/'"$lt_cv_objdir"
else
gmplibs='-L$$r/$(HOST_SUBDIR)/mpfr/'"$lt_cv_objdir $gmplibs"
gmpinc='-I$$r/$(HOST_SUBDIR)/mpfr -I$$s/mpfr '"$gmpinc"
extra_mpc_mpfr_configure_flags='--with-mpfr-include=$$s/mpfr --with-mpfr-lib=$$r/$(HOST_SUBDIR)/mpfr/'"$lt_cv_objdir"
fi
# Do not test the mpfr version. Assume that it is sufficient, since # Do not test the mpfr version. Assume that it is sufficient, since
# it is in the source tree, and the library has not been built yet # it is in the source tree, and the library has not been built yet
# but it would be included on the link line in the version check below # but it would be included on the link line in the version check below
@ -14850,16 +14838,17 @@ else
# For --disable-checking or implicit --enable-checking=release, avoid # For --disable-checking or implicit --enable-checking=release, avoid
# setting --enable-checking=gc in the default stage1 checking for LTO # setting --enable-checking=gc in the default stage1 checking for LTO
# bootstraps. See PR62077. # bootstraps. See PR62077.
stage1_checking=--enable-checking=release,misc,gimple,rtlflag,tree,types
case $BUILD_CONFIG in case $BUILD_CONFIG in
*lto*) *lto*)
if test "x$enable_checking" = x && \ stage1_checking=--enable-checking=release,misc,gimple,rtlflag,tree,types;;
test -d ${srcdir}/gcc && \ *)
test x"`cat ${srcdir}/gcc/DEV-PHASE`" = xexperimental; then stage1_checking=--enable-checking=yes,types;;
stage1_checking=--enable-checking=yes,types
fi;;
*) stage1_checking=--enable-checking=yes,types;;
esac esac
if test "x$enable_checking" = x && \
test -d ${srcdir}/gcc && \
test x"`cat ${srcdir}/gcc/DEV-PHASE`" = xexperimental; then
stage1_checking=--enable-checking=yes,types,extra
fi
else else
stage1_checking=--enable-checking=$enable_checking,types stage1_checking=--enable-checking=$enable_checking,types
fi fi

View File

@ -782,8 +782,6 @@ case "${target}" in
;; ;;
sh-*-* | sh[[34]]*-*-*) sh-*-* | sh[[34]]*-*-*)
;; ;;
sh64-*-* | sh5*-*-*)
;;
sparc*-*-*) sparc*-*-*)
;; ;;
x86_64-*-*) x86_64-*-*)
@ -1094,9 +1092,6 @@ case "${target}" in
sh*-*-pe|mips*-*-pe|*arm-wince-pe) sh*-*-pe|mips*-*-pe|*arm-wince-pe)
noconfigdirs="$noconfigdirs tcl tk itcl libgui sim" noconfigdirs="$noconfigdirs tcl tk itcl libgui sim"
;; ;;
arc-*-*|arceb-*-*)
noconfigdirs="$noconfigdirs target-libgloss"
;;
arm-*-pe*) arm-*-pe*)
noconfigdirs="$noconfigdirs target-libgloss" noconfigdirs="$noconfigdirs target-libgloss"
;; ;;
@ -1282,7 +1277,7 @@ case "${target}" in
or1k*-*-*) or1k*-*-*)
noconfigdirs="$noconfigdirs gdb" noconfigdirs="$noconfigdirs gdb"
;; ;;
sh-*-* | sh64-*-*) sh-*-*)
case "${target}" in case "${target}" in
sh*-*-elf) sh*-*-elf)
;; ;;
@ -1550,16 +1545,9 @@ if test "x$with_mpfr_lib" != x; then
gmplibs="-L$with_mpfr_lib $gmplibs" gmplibs="-L$with_mpfr_lib $gmplibs"
fi fi
if test "x$with_mpfr$with_mpfr_include$with_mpfr_lib" = x && test -d ${srcdir}/mpfr; then if test "x$with_mpfr$with_mpfr_include$with_mpfr_lib" = x && test -d ${srcdir}/mpfr; then
# MPFR v3.1.0 moved the sources into a src sub-directory. gmplibs='-L$$r/$(HOST_SUBDIR)/mpfr/src/'"$lt_cv_objdir $gmplibs"
if test -d ${srcdir}/mpfr/src; then gmpinc='-I$$r/$(HOST_SUBDIR)/mpfr/src -I$$s/mpfr/src '"$gmpinc"
gmplibs='-L$$r/$(HOST_SUBDIR)/mpfr/src/'"$lt_cv_objdir $gmplibs" extra_mpc_mpfr_configure_flags='--with-mpfr-include=$$s/mpfr/src --with-mpfr-lib=$$r/$(HOST_SUBDIR)/mpfr/src/'"$lt_cv_objdir"
gmpinc='-I$$r/$(HOST_SUBDIR)/mpfr/src -I$$s/mpfr/src '"$gmpinc"
extra_mpc_mpfr_configure_flags='--with-mpfr-include=$$s/mpfr/src --with-mpfr-lib=$$r/$(HOST_SUBDIR)/mpfr/src/'"$lt_cv_objdir"
else
gmplibs='-L$$r/$(HOST_SUBDIR)/mpfr/'"$lt_cv_objdir $gmplibs"
gmpinc='-I$$r/$(HOST_SUBDIR)/mpfr -I$$s/mpfr '"$gmpinc"
extra_mpc_mpfr_configure_flags='--with-mpfr-include=$$s/mpfr --with-mpfr-lib=$$r/$(HOST_SUBDIR)/mpfr/'"$lt_cv_objdir"
fi
# Do not test the mpfr version. Assume that it is sufficient, since # Do not test the mpfr version. Assume that it is sufficient, since
# it is in the source tree, and the library has not been built yet # it is in the source tree, and the library has not been built yet
# but it would be included on the link line in the version check below # but it would be included on the link line in the version check below
@ -3530,16 +3518,17 @@ AC_ARG_ENABLE(stage1-checking,
# For --disable-checking or implicit --enable-checking=release, avoid # For --disable-checking or implicit --enable-checking=release, avoid
# setting --enable-checking=gc in the default stage1 checking for LTO # setting --enable-checking=gc in the default stage1 checking for LTO
# bootstraps. See PR62077. # bootstraps. See PR62077.
stage1_checking=--enable-checking=release,misc,gimple,rtlflag,tree,types
case $BUILD_CONFIG in case $BUILD_CONFIG in
*lto*) *lto*)
if test "x$enable_checking" = x && \ stage1_checking=--enable-checking=release,misc,gimple,rtlflag,tree,types;;
test -d ${srcdir}/gcc && \ *)
test x"`cat ${srcdir}/gcc/DEV-PHASE`" = xexperimental; then stage1_checking=--enable-checking=yes,types;;
stage1_checking=--enable-checking=yes,types
fi;;
*) stage1_checking=--enable-checking=yes,types;;
esac esac
if test "x$enable_checking" = x && \
test -d ${srcdir}/gcc && \
test x"`cat ${srcdir}/gcc/DEV-PHASE`" = xexperimental; then
stage1_checking=--enable-checking=yes,types,extra
fi
else else
stage1_checking=--enable-checking=$enable_checking,types stage1_checking=--enable-checking=$enable_checking,types
fi]) fi])