extra_host_args=
-# This is a hack to get around the mis-configuring of libintl.a
-# support in GNUPro 05r1. In theory this should not be necessary
-# but test building native toolchains under Solaris and Cygwin
-# before permanently removing it.
-case "$ac_configure_args" in
- *--with-included-gettext=* )
- ;;
- *--disable-nls* )
- ;;
- * )
- ac_configure_args="$ac_configure_args --with-included-gettext"
- ;;
-esac
-
### To add a new directory to the tree, first choose whether it is a target
### or a host dependent tool. Then put it into the appropriate list
### (library or tools, host or target), doing a dependency sort.
# these library is used by various programs built for the build
# environment
#
-build_libs="build-libiberty build-intl"
+build_libs="build-libiberty"
# these tools are built for the build environment
build_tools="build-texinfo build-flex build-bison build-m4 build-fixincludes"
# binutils, gas and ld appear in that order because it makes sense to run
# "make check" in that particular order.
# If --enable-gold is used, "gold" may replace "ld".
-host_tools="texinfo flex bison binutils gas ld fixincludes gcc cgen sim gdb gprof etc expect dejagnu m4 utils guile fastjar gnattools"
+host_tools="texinfo flex bison binutils gas ld fixincludes gcc cgen sid sim gdb gprof etc expect dejagnu m4 utils guile fastjar gnattools"
# libgcj represents the runtime libraries only used by gcj.
libgcj="target-libffi \
fi
case "${ENABLE_GOLD}" in
- yes|default|both)
+ yes|default)
# Check for ELF target.
is_elf=no
case "${target}" in
as_fn_error "either gold or ld can be the default ld" "$LINENO" 5
fi
;;
- yes|both)
+ yes)
;;
no)
if test x${ENABLE_GOLD} != xyes; then
# for explicit misaligned loads.
noconfigdirs="$noconfigdirs target-libssp"
;;
- *-*-tpf*)
- noconfigdirs="$noconfigdirs target-libssp"
- ;;
esac
# Disable libstdc++-v3 for some systems.
rs6000-*-aix*)
noconfigdirs="$noconfigdirs ${libgcj}"
;;
- mep-*-*)
- configdirs="$configdirs sid"
- ;;
mips*-*-irix6*)
# Linking libjava exceeds command-line length limits on at least
# IRIX 6.2, but not on IRIX 6.5.
# <oldham@codesourcery.com>
noconfigdirs="$noconfigdirs ${libgcj}"
;;
- mips*-*-*)
- noconfigdirs="$noconfigdirs ${libgcj} target-libssp"
- ;;
- xstormy16*-*-*)
- configdirs="$configdirs sid"
- ;;
*-*-lynxos*)
noconfigdirs="$noconfigdirs ${libgcj}"
;;
arm-*-riscix*)
noconfigdirs="$noconfigdirs ld target-libgloss"
;;
+ avr-*-rtems*)
+ ;;
+ avr-*-*)
+ if test x${with_avrlibc} = xyes; then
+ noconfigdirs="$noconfigdirs target-newlib target-libgloss"
+ fi
+ ;;
c4x-*-* | tic4x-*-*)
noconfigdirs="$noconfigdirs target-libgloss"
;;
tic54x-*-*)
noconfigdirs="$noconfigdirs target-libgloss gdb"
;;
- cr16-*-*)
- noconfigdirs="$noconfigdirs gdb"
- ;;
d10v-*-*)
noconfigdirs="$noconfigdirs target-libgloss"
;;
*-mingw*)
host_makefile_frag="config/mh-mingw"
;;
- *-interix*)
- host_makefile_frag="config/mh-interix"
- ;;
hppa*-hp-hpux10*)
host_makefile_frag="config/mh-pa-hpux10"
;;
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_cc_gcc_supports_ada" >&5
$as_echo "$acx_cv_cc_gcc_supports_ada" >&6; }
-if test x$GNATBIND != xno && test x$GNATMAKE != xno && test x$acx_cv_cc_gcc_supports_ada != xno; then
+if test "x$GNATBIND" != xno && test "x$GNATMAKE" != xno && test x$acx_cv_cc_gcc_supports_ada != xno; then
have_gnat=yes
else
have_gnat=no
gmplibs="-L$with_mpfr_lib $gmplibs"
fi
if test "x$with_mpfr$with_mpfr_include$with_mpfr_lib" = x && test -d ${srcdir}/mpfr; then
- gmplibs='-L$$r/$(HOST_SUBDIR)/mpfr/src/'"$lt_cv_objdir $gmplibs"
- 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"
+ 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"
# 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
# but it would be included on the link line in the version check below
extra_arflags_for_target=" -X32_64"
extra_nmflags_for_target=" -B -X32_64"
;;
- *-*-darwin[3-9]*)
- # ranlib before Darwin10 requires the -c flag to look at common symbols.
- extra_ranlibflags_for_target=" -c"
- ;;
esac
alphaieee_frag=/dev/null
# Do not nest @if/@endif pairs, because configure will not warn you at all.
case "$enable_bootstrap:$ENABLE_GOLD: $configdirs :,$stage1_languages," in
- yes:both:*\ gold\ *:*,c++,* | \
yes:yes:*\ gold\ *:*,c++,*) ;;
- yes:both:*\ gold\ *:* | \
yes:yes:*\ gold\ *:*)
as_fn_error "in a combined tree, bootstrapping with --enable-gold requires c++ in stage1_languages" "$LINENO" 5
;;
done
test -n "$YACC" || YACC="$MISSING bison -y"
+case " $build_configdirs " in
+ *" bison "*) YACC='$$r/$(BUILD_SUBDIR)/bison/tests/bison -y' ;;
+esac
for ac_prog in bison
do
done
test -n "$BISON" || BISON="$MISSING bison"
+case " $build_configdirs " in
+ *" bison "*) BISON='$$r/$(BUILD_SUBDIR)/bison/tests/bison' ;;
+esac
for ac_prog in gm4 gnum4 m4
do
done
test -n "$M4" || M4="$MISSING m4"
+case " $build_configdirs " in
+ *" m4 "*) M4='$$r/$(BUILD_SUBDIR)/m4/m4' ;;
+esac
for ac_prog in flex lex
do
done
test -n "$LEX" || LEX="$MISSING flex"
+case " $build_configdirs " in
+ *" flex "*) LEX='$$r/$(BUILD_SUBDIR)/flex/flex' ;;
+ *" lex "*) LEX='$$r/$(BUILD_SUBDIR)/lex/lex' ;;
+esac
for ac_prog in flex
do
done
test -n "$FLEX" || FLEX="$MISSING flex"
+case " $build_configdirs " in
+ *" flex "*) FLEX='$$r/$(BUILD_SUBDIR)/flex/flex' ;;
+esac
for ac_prog in makeinfo
do