OpenCores
URL https://opencores.org/ocsvn/open8_urisc/open8_urisc/trunk

Subversion Repositories open8_urisc

[/] [open8_urisc/] [trunk/] [gnu/] [binutils/] [configure] - Diff between revs 148 and 161

Go to most recent revision | Show entire file | Details | Blame | View Log

Rev 148 Rev 161
Line 554... Line 554...
ac_unique_file="move-if-change"
ac_unique_file="move-if-change"
enable_option_checking=no
enable_option_checking=no
ac_subst_vars='LTLIBOBJS
ac_subst_vars='LTLIBOBJS
LIBOBJS
LIBOBJS
compare_exclusions
compare_exclusions
 
POSTSTAGE1_CONFIGURE_FLAGS
stage2_werror_flag
stage2_werror_flag
stage1_checking
stage1_checking
stage1_cflags
stage1_cflags
MAINT
MAINT
MAINTAINER_MODE_FALSE
MAINTAINER_MODE_FALSE
Line 665... Line 666...
ac_ct_CC
ac_ct_CC
CPPFLAGS
CPPFLAGS
LDFLAGS
LDFLAGS
CFLAGS
CFLAGS
CC
CC
 
EXTRA_CONFIGARGS_LIBJAVA
target_subdir
target_subdir
host_subdir
host_subdir
build_subdir
build_subdir
build_libsubdir
build_libsubdir
AWK
AWK
Line 744... Line 746...
enable_ld
enable_ld
enable_libquadmath
enable_libquadmath
enable_libquadmath_support
enable_libquadmath_support
enable_libada
enable_libada
enable_libssp
enable_libssp
 
enable_static_libjava
 
enable_bootstrap
enable_build_with_cxx
enable_build_with_cxx
 
enable_build_poststage1_with_cxx
with_mpc
with_mpc
with_mpc_include
with_mpc_include
with_mpc_lib
with_mpc_lib
with_mpfr_dir
with_mpfr_dir
with_mpfr
with_mpfr
Line 775... Line 780...
enable_lto
enable_lto
enable_stage1_languages
enable_stage1_languages
enable_objc_gc
enable_objc_gc
with_build_sysroot
with_build_sysroot
with_debug_prefix_map
with_debug_prefix_map
enable_bootstrap
 
with_build_config
with_build_config
enable_serial_configure
enable_serial_configure
with_build_time_tools
with_build_time_tools
enable_maintainer_mode
enable_maintainer_mode
enable_stage1_checking
enable_stage1_checking
Line 1458... Line 1462...
  --disable-libquadmath   do not build libquadmath directory
  --disable-libquadmath   do not build libquadmath directory
  --disable-libquadmath-support
  --disable-libquadmath-support
                          disable libquadmath support for Fortran
                          disable libquadmath support for Fortran
  --enable-libada         build libada directory
  --enable-libada         build libada directory
  --enable-libssp         build libssp directory
  --enable-libssp         build libssp directory
 
  --enable-static-libjava[=ARG]
 
                          build static libjava [default=no]
 
  --enable-bootstrap      enable bootstrapping [yes if native build]
  --enable-build-with-cxx build with C++ compiler instead of C compiler
  --enable-build-with-cxx build with C++ compiler instead of C compiler
 
  --enable-build-poststage1-with-cxx
 
                          build stages 2 and 3 with C++, not C
  --disable-ppl-version-check
  --disable-ppl-version-check
                          disable check for PPL version
                          disable check for PPL version
  --enable-cloog-backend[=BACKEND]
  --enable-cloog-backend[=BACKEND]
                          set the CLooG BACKEND used to either isl, ppl or
                          set the CLooG BACKEND used to either isl, ppl or
                          ppl-legacy (default)
                          ppl-legacy (default)
Line 1472... Line 1481...
  --enable-stage1-languages[=all]
  --enable-stage1-languages[=all]
                          choose additional languages to build during stage1.
                          choose additional languages to build during stage1.
                          Mostly useful for compiler development
                          Mostly useful for compiler development
  --enable-objc-gc        enable use of Boehm's garbage collector with the GNU
  --enable-objc-gc        enable use of Boehm's garbage collector with the GNU
                          Objective-C runtime
                          Objective-C runtime
  --enable-bootstrap      enable bootstrapping [yes if native build]
 
  --enable-serial-[{host,target,build}-]configure
  --enable-serial-[{host,target,build}-]configure
                          force sequential configuration of sub-packages for
                          force sequential configuration of sub-packages for
                          the host, target or build machine, or all
                          the host, target or build machine, or all
                          sub-packages
                          sub-packages
  --enable-maintainer-mode
  --enable-maintainer-mode
Line 2666... Line 2674...
        target-zlib \
        target-zlib \
        target-libjava"
        target-libjava"
 
 
# these libraries are built for the target environment, and are built after
# these libraries are built for the target environment, and are built after
# the host libraries and the host tools (which may be a cross compiler)
# the host libraries and the host tools (which may be a cross compiler)
#
# Note that libiberty is not a target library.
target_libraries="target-libgcc \
target_libraries="target-libgcc \
                target-libiberty \
 
                target-libgloss \
                target-libgloss \
                target-newlib \
                target-newlib \
                target-libgomp \
                target-libgomp \
                target-libstdc++-v3 \
                target-libstdc++-v3 \
                target-libmudflap \
                target-libmudflap \
Line 2996... Line 3003...
  # built.
  # built.
  libgcj_saved=
  libgcj_saved=
  ;;
  ;;
esac
esac
 
 
 
# Check whether --enable-static-libjava was given.
 
if test "${enable_static_libjava+set}" = set; then :
 
  enableval=$enable_static_libjava; ENABLE_STATIC_LIBJAVA=$enableval
 
else
 
  ENABLE_STATIC_LIBJAVA=no
 
fi
 
 
 
enable_static_libjava=
 
if test "${ENABLE_STATIC_LIBJAVA}" = "yes" ; then
 
  enable_static_libjava=yes
 
fi
 
 
 
if test x$enable_static_libjava != xyes ; then
 
  EXTRA_CONFIGARGS_LIBJAVA=--disable-static
 
fi
 
 
 
 
# Disable libmudflap on some systems.
# Disable libmudflap on some systems.
if test x$enable_libmudflap = x ; then
if test x$enable_libmudflap = x ; then
    case "${target}" in
    case "${target}" in
    *-*-linux* | *-*-gnu* | *-*-k*bsd*-gnu | bfin*-*-uclinux* | *-*-kopensolaris*-gnu)
    *-*-linux* | *-*-gnu* | *-*-k*bsd*-gnu | bfin*-*-uclinux* | *-*-kopensolaris*-gnu)
Line 3042... Line 3065...
  powerpc-*-aix* | rs6000-*-aix*)
  powerpc-*-aix* | rs6000-*-aix*)
    noconfigdirs="$noconfigdirs target-libssp"
    noconfigdirs="$noconfigdirs target-libssp"
    ;;
    ;;
esac
esac
 
 
# Disable target libiberty for some systems.
 
case "${target}" in
 
  *-*-kaos*)
 
    # Remove unsupported stuff on all kaOS configurations.
 
    skipdirs="target-libiberty"
 
    ;;
 
  *-*-netbsd*)
 
    # Skip some stuff on all NetBSD configurations.
 
    noconfigdirs="$noconfigdirs target-libiberty"
 
    ;;
 
  *-*-netware*)
 
    noconfigdirs="$noconfigdirs target-libiberty"
 
    ;;
 
  *-*-rtems*)
 
    skipdirs="${skipdirs} target-libiberty"
 
    ;;
 
  *-*-tpf*)
 
    noconfigdirs="$noconfigdirs target-libiberty"
 
    ;;
 
  *-*-vxworks*)
 
    noconfigdirs="$noconfigdirs target-libiberty"
 
    ;;
 
  sh*-*-pe|mips*-*-pe|*arm-wince-pe)
 
    noconfigdirs="$noconfigdirs target-libiberty"
 
    ;;
 
  arm*-*-symbianelf*)
 
    noconfigdirs="$noconfigdirs target-libiberty"
 
    ;;
 
  avr-*-*)
 
    noconfigdirs="$noconfigdirs target-libiberty"
 
    ;;
 
  m68hc11-*-*|m6811-*-*|m68hc12-*-*|m6812-*-*)
 
    noconfigdirs="$noconfigdirs target-libiberty"
 
    ;;
 
  picochip-*-*)
 
    noconfigdirs="$noconfigdirs target-libiberty"
 
    ;;
 
  mips*-sde-elf*)
 
    skipdirs="$skipdirs target-libiberty"
 
    ;;
 
  ip2k-*-*)
 
    noconfigdirs="$noconfigdirs target-libiberty"
 
    ;;
 
esac
 
 
 
# Disable libstdc++-v3 for some systems.
# Disable libstdc++-v3 for some systems.
case "${target}" in
case "${target}" in
  *-*-vxworks*)
  *-*-vxworks*)
    # VxWorks uses the Dinkumware C++ library.
    # VxWorks uses the Dinkumware C++ library.
    noconfigdirs="$noconfigdirs target-libstdc++-v3"
    noconfigdirs="$noconfigdirs target-libstdc++-v3"
Line 3521... Line 3499...
    noconfigdirs="$noconfigdirs ld target-libgloss"
    noconfigdirs="$noconfigdirs ld target-libgloss"
    ;;
    ;;
  i[3456789]86-*-sco*)
  i[3456789]86-*-sco*)
    noconfigdirs="$noconfigdirs gprof target-libgloss"
    noconfigdirs="$noconfigdirs gprof target-libgloss"
    ;;
    ;;
  i[3456789]86-*-solaris2*)
  i[3456789]86-*-solaris2* | x86_64-*-solaris2.1[0-9]*)
    noconfigdirs="$noconfigdirs target-libgloss"
    noconfigdirs="$noconfigdirs target-libgloss"
    ;;
    ;;
  i[3456789]86-*-sysv4*)
  i[3456789]86-*-sysv4*)
    noconfigdirs="$noconfigdirs target-libgloss"
    noconfigdirs="$noconfigdirs target-libgloss"
    ;;
    ;;
Line 3604... Line 3582...
    if test x${is_cross_compiler} = xno ; then
    if test x${is_cross_compiler} = xno ; then
           use_gnu_ld=no
           use_gnu_ld=no
    fi
    fi
    ;;
    ;;
  tic6x-*-*)
  tic6x-*-*)
    noconfigdirs="$noconfigdirs gdb sim"
    noconfigdirs="$noconfigdirs sim"
    ;;
    ;;
  tilepro-*-* | tilegx-*-*)
  tilepro-*-* | tilegx-*-*)
    noconfigdirs="$noconfigdirs sim"
    noconfigdirs="$noconfigdirs sim"
    ;;
    ;;
  v810-*-*)
  v810-*-*)
Line 5003... Line 4981...
$as_echo "$gcc_cv_prog_cmp_skip" >&6; }
$as_echo "$gcc_cv_prog_cmp_skip" >&6; }
do_compare="$gcc_cv_prog_cmp_skip"
do_compare="$gcc_cv_prog_cmp_skip"
 
 
 
 
 
 
 
# Check whether --enable-bootstrap was given.
 
if test "${enable_bootstrap+set}" = set; then :
 
  enableval=$enable_bootstrap;
 
else
 
  enable_bootstrap=default
 
fi
 
 
 
 
 
# Issue errors and warnings for invalid/strange bootstrap combinations.
 
if test -r $srcdir/gcc/configure; then
 
  have_compiler=yes
 
else
 
  have_compiler=no
 
fi
 
 
 
case "$have_compiler:$host:$target:$enable_bootstrap" in
 
  *:*:*:no) ;;
 
 
 
  # Default behavior.  Enable bootstrap if we have a compiler
 
  # and we are in a native configuration.
 
  yes:$build:$build:default)
 
    enable_bootstrap=yes ;;
 
 
 
  *:*:*:default)
 
    enable_bootstrap=no ;;
 
 
 
  # We have a compiler and we are in a native configuration, bootstrap is ok
 
  yes:$build:$build:yes)
 
    ;;
 
 
 
  # Other configurations, but we have a compiler.  Assume the user knows
 
  # what he's doing.
 
  yes:*:*:yes)
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: trying to bootstrap a cross compiler" >&5
 
$as_echo "$as_me: WARNING: trying to bootstrap a cross compiler" >&2;}
 
    ;;
 
 
 
  # No compiler: if they passed --enable-bootstrap explicitly, fail
 
  no:*:*:yes)
 
    as_fn_error "cannot bootstrap without a compiler" "$LINENO" 5 ;;
 
 
 
  # Fail if wrong command line
 
  *)
 
    as_fn_error "invalid option for --enable-bootstrap" "$LINENO" 5
 
    ;;
 
esac
 
 
# See if we are building gcc with C++.
# See if we are building gcc with C++.
# Check whether --enable-build-with-cxx was given.
# Check whether --enable-build-with-cxx was given.
if test "${enable_build_with_cxx+set}" = set; then :
if test "${enable_build_with_cxx+set}" = set; then :
  enableval=$enable_build_with_cxx; ENABLE_BUILD_WITH_CXX=$enableval
  enableval=$enable_build_with_cxx; ENABLE_BUILD_WITH_CXX=$enableval
else
else
  ENABLE_BUILD_WITH_CXX=no
  ENABLE_BUILD_WITH_CXX=no
fi
fi
 
 
 
 
 
# Build stage1 with C and build stages 2 and 3 with C++.
 
# Check whether --enable-build-poststage1-with-cxx was given.
 
if test "${enable_build_poststage1_with_cxx+set}" = set; then :
 
  enableval=$enable_build_poststage1_with_cxx; ENABLE_BUILD_POSTSTAGE1_WITH_CXX=$enableval
 
else
 
  ENABLE_BUILD_POSTSTAGE1_WITH_CXX=yes
 
fi
 
 
 
 
# Used for setting $lt_cv_objdir
# Used for setting $lt_cv_objdir
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
$as_echo_n "checking for objdir... " >&6; }
$as_echo_n "checking for objdir... " >&6; }
if test "${lt_cv_objdir+set}" = set; then :
if test "${lt_cv_objdir+set}" = set; then :
  $as_echo_n "(cached) " >&6
  $as_echo_n "(cached) " >&6
Line 6033... Line 6067...
 
 
 
 
target_elf=no
target_elf=no
case $target in
case $target in
  *-darwin* | *-aix* | *-cygwin* | *-mingw* | *-aout* | *-*coff* | \
  *-darwin* | *-aix* | *-cygwin* | *-mingw* | *-aout* | *-*coff* | \
  *-msdosdjgpp* | *-netware* | *-vms* | *-wince* | *-*-pe* | \
  *-msdosdjgpp* | *-vms* | *-wince* | *-*-pe* | \
  alpha*-dec-osf* | *-interix* | hppa[12]*-*-hpux*)
  alpha*-dec-osf* | *-interix* | hppa[12]*-*-hpux*)
    target_elf=no
    target_elf=no
    ;;
    ;;
  *)
  *)
    target_elf=yes
    target_elf=yes
Line 6116... Line 6150...
      echo configure.in: warning: 'f95' as language name is deprecated, use 'fortran' instead 1>&2
      echo configure.in: warning: 'f95' as language name is deprecated, use 'fortran' instead 1>&2
      enable_languages=`echo "${enable_languages}" | sed -e 's/f95/fortran/g'`
      enable_languages=`echo "${enable_languages}" | sed -e 's/f95/fortran/g'`
      ;;
      ;;
  esac
  esac
 
 
 
  # If bootstrapping, then using --enable-build-with-cxx or
 
  # --enable-build-poststage1-with-cxx requires enabling C++.
 
  case ",$enable_languages,:,$ENABLE_BUILD_WITH_CXX,$ENABLE_BUILD_POSTSTAGE1_WITH_CXX,:$enable_bootstrap" in
 
    *,c++,*:*:*) ;;
 
    *:*,yes,*:yes)
 
      if test -f ${srcdir}/gcc/cp/config-lang.in; then
 
        enable_languages="${enable_languages},c++"
 
      else
 
        as_fn_error "bootstrapping with --enable-build-with-cxx or --enable-build-poststage1-with-cxx requires c++ sources" "$LINENO" 5
 
      fi
 
      ;;
 
  esac
 
 
  # First scan to see if an enabled language requires some other language.
  # 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
  # We assume that a given config-lang.in will list all the language
  # front ends it requires, even if some are required indirectly.
  # front ends it requires, even if some are required indirectly.
  for lang_frag in ${srcdir}/gcc/*/config-lang.in .. ; do
  for lang_frag in ${srcdir}/gcc/*/config-lang.in .. ; do
    case ${lang_frag} in
    case ${lang_frag} in
Line 6205... Line 6252...
        if test x${language} = x; then
        if test x${language} = x; then
          echo "${lang_frag} doesn't set \$language." 1>&2
          echo "${lang_frag} doesn't set \$language." 1>&2
          exit 1
          exit 1
        fi
        fi
 
 
        if test "$language" = "c++" \
        if test "$language" = "c++"; then
           && test "$ENABLE_BUILD_WITH_CXX" = "yes"; then
          if test "$ENABLE_BUILD_WITH_CXX" = "yes" \
 
             || test "$ENABLE_BUILD_POSTSTAGE1_WITH_CXX" = "yes"; then
          boot_language=yes
          boot_language=yes
        fi
        fi
 
        fi
 
 
        case ,${enable_languages}, in
        case ,${enable_languages}, in
          *,${language},*)
          *,${language},*)
            # Language was explicitly selected; include it.
            # Language was explicitly selected; include it.
            add_this_lang=yes
            add_this_lang=yes
Line 6428... Line 6477...
      fi
      fi
    fi
    fi
  fi
  fi
done
done
 
 
# Sometimes the tools are distributed with libiberty but with no other
 
# libraries.  In that case, we don't want to build target-libiberty.
 
# Don't let libgcc imply libiberty either.
 
if test -n "${target_configdirs}" ; then
 
  libgcc=
 
  others=
 
  for i in `echo ${target_configdirs} | sed -e s/target-//g` ; do
 
    if test "$i" = "libgcc"; then
 
      libgcc=target-libgcc
 
    elif test "$i" != "libiberty" ; then
 
      if test -r $srcdir/$i/configure ; then
 
        others=yes;
 
        break;
 
      fi
 
    fi
 
  done
 
  if test -z "${others}" ; then
 
    target_configdirs=$libgcc
 
  fi
 
fi
 
 
 
# Quietly strip out all directories which aren't configurable in this tree.
# Quietly strip out all directories which aren't configurable in this tree.
# This relies on all configurable subdirectories being autoconfiscated, which
# This relies on all configurable subdirectories being autoconfiscated, which
# is now the case.
# is now the case.
build_configdirs_all="$build_configdirs"
build_configdirs_all="$build_configdirs"
build_configdirs=
build_configdirs=
Line 6936... Line 6964...
# extrasub-{build,host,target} not because there is any reason to split
# extrasub-{build,host,target} not because there is any reason to split
# the substitutions up that way, but only to remain below the limit of
# the substitutions up that way, but only to remain below the limit of
# 99 commands in a script, for HP-UX sed.
# 99 commands in a script, for HP-UX sed.
# Do not nest @if/@endif pairs, because configure will not warn you at all.
# Do not nest @if/@endif pairs, because configure will not warn you at all.
 
 
# Check whether --enable-bootstrap was given.
 
if test "${enable_bootstrap+set}" = set; then :
 
  enableval=$enable_bootstrap;
 
else
 
  enable_bootstrap=default
 
fi
 
 
 
 
 
# Issue errors and warnings for invalid/strange bootstrap combinations.
 
case "$configdirs" in
 
  *gcc*) have_compiler=yes ;;
 
  *) have_compiler=no ;;
 
esac
 
 
 
case "$have_compiler:$host:$target:$enable_bootstrap" in
 
  *:*:*:no) ;;
 
 
 
  # Default behavior.  Enable bootstrap if we have a compiler
 
  # and we are in a native configuration.
 
  yes:$build:$build:default)
 
    enable_bootstrap=yes ;;
 
 
 
  *:*:*:default)
 
    enable_bootstrap=no ;;
 
 
 
  # We have a compiler and we are in a native configuration, bootstrap is ok
 
  yes:$build:$build:yes)
 
    ;;
 
 
 
  # Other configurations, but we have a compiler.  Assume the user knows
 
  # what he's doing.
 
  yes:*:*:yes)
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: trying to bootstrap a cross compiler" >&5
 
$as_echo "$as_me: WARNING: trying to bootstrap a cross compiler" >&2;}
 
    ;;
 
 
 
  # No compiler: if they passed --enable-bootstrap explicitly, fail
 
  no:*:*:yes)
 
    as_fn_error "cannot bootstrap without a compiler" "$LINENO" 5 ;;
 
 
 
  # Fail if wrong command line
 
  *)
 
    as_fn_error "invalid option for --enable-bootstrap" "$LINENO" 5
 
    ;;
 
esac
 
 
 
case ",$enable_languages,:$ENABLE_BUILD_WITH_CXX:$enable_bootstrap" in
 
  *,c++,*:yes:yes) ;;
 
  *:yes:yes)
 
    as_fn_error "bootstrapping with --enable-build-with-cxx requires c++ in --enable-languages" "$LINENO" 5
 
    ;;
 
esac
 
 
 
case "$enable_bootstrap:$ENABLE_GOLD: $configdirs :,$stage1_languages," in
case "$enable_bootstrap:$ENABLE_GOLD: $configdirs :,$stage1_languages," in
  yes:yes:*\ gold\ *:*,c++,*) ;;
  yes:yes:*\ gold\ *:*,c++,*) ;;
  yes:yes:*\ gold\ *:*)
  yes:yes:*\ gold\ *:*)
    as_fn_error "in a combined tree, bootstrapping with --enable-gold requires c++ in stage1_languages" "$LINENO" 5
    as_fn_error "in a combined tree, bootstrapping with --enable-gold requires c++ in stage1_languages" "$LINENO" 5
    ;;
    ;;
Line 14035... Line 14010...
  yes) stage2_werror_flag="--enable-werror-always" ;;
  yes) stage2_werror_flag="--enable-werror-always" ;;
  *) stage2_werror_flag="" ;;
  *) stage2_werror_flag="" ;;
esac
esac
 
 
 
 
 
# If using ENABLE_BUILD_POSTSTAGE1_WITH_CXX, pass
 
# --enable-build-with-cxx after stage1.
 
if test "$ENABLE_BUILD_POSTSTAGE1_WITH_CXX" = "yes"; then
 
  POSTSTAGE1_CONFIGURE_FLAGS=--enable-build-with-cxx
 
else
 
  POSTSTAGE1_CONFIGURE_FLAGS=
 
fi
 
 
 
 
# Specify what files to not compare during bootstrap.
# Specify what files to not compare during bootstrap.
 
 
compare_exclusions="gcc/cc*-checksum\$(objext) | gcc/ada/*tools/*"
compare_exclusions="gcc/cc*-checksum\$(objext) | gcc/ada/*tools/*"
case "$target" in
case "$target" in
  hppa*64*-*-hpux*) ;;
  hppa*64*-*-hpux*) ;;

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.