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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [binutils-2.18.50/] [gas/] [configure.in] - Diff between revs 156 and 816

Go to most recent revision | Only display areas with differences | Details | Blame | View Log

Rev 156 Rev 816
dnl Process this file with autoconf to produce a configure script.
dnl Process this file with autoconf to produce a configure script.
dnl
dnl
dnl And be careful when changing it!  If you must add tests with square
dnl And be careful when changing it!  If you must add tests with square
dnl brackets, be sure changequote invocations surround it.
dnl brackets, be sure changequote invocations surround it.
dnl
dnl
dnl
dnl
dnl v2.5 needed for --bindir et al
dnl v2.5 needed for --bindir et al
AC_PREREQ(2.57)
AC_PREREQ(2.57)
AC_INIT(as.h)
AC_INIT(as.h)
dnl Autoconf 2.57 will find the aux dir without this.  However, unless
dnl Autoconf 2.57 will find the aux dir without this.  However, unless
dnl we specify this explicitly, automake-1.7 will assume that ylwrap is in
dnl we specify this explicitly, automake-1.7 will assume that ylwrap is in
dnl gas/ instead of gas/../.
dnl gas/ instead of gas/../.
AC_CONFIG_AUX_DIR(..)
AC_CONFIG_AUX_DIR(..)
AC_CANONICAL_SYSTEM
AC_CANONICAL_SYSTEM
AC_ISC_POSIX
AC_ISC_POSIX
changequote(,)dnl
changequote(,)dnl
BFD_VERSION=`sed -n -e 's/^.._INIT_AUTOMAKE.*,[         ]*\([^  ]*\)[   ]*).*/\1/p' < ${srcdir}/../bfd/configure.in`
BFD_VERSION=`sed -n -e 's/^.._INIT_AUTOMAKE.*,[         ]*\([^  ]*\)[   ]*).*/\1/p' < ${srcdir}/../bfd/configure.in`
changequote([,])dnl
changequote([,])dnl
AM_INIT_AUTOMAKE(gas, ${BFD_VERSION})
AM_INIT_AUTOMAKE(gas, ${BFD_VERSION})
AC_PROG_CC
AC_PROG_CC
AC_GNU_SOURCE
AC_GNU_SOURCE
AM_PROG_LIBTOOL
AM_PROG_LIBTOOL
AC_ARG_ENABLE(targets,
AC_ARG_ENABLE(targets,
[  --enable-targets        alternative target configurations besides the primary],
[  --enable-targets        alternative target configurations besides the primary],
[case "${enableval}" in
[case "${enableval}" in
  yes | "") AC_ERROR(enable-targets option must specify target names or 'all')
  yes | "") AC_ERROR(enable-targets option must specify target names or 'all')
            ;;
            ;;
  no)       enable_targets= ;;
  no)       enable_targets= ;;
  *)        enable_targets=$enableval ;;
  *)        enable_targets=$enableval ;;
esac])dnl
esac])dnl
AC_ARG_ENABLE(commonbfdlib,
AC_ARG_ENABLE(commonbfdlib,
[  --enable-commonbfdlib   build shared BFD/opcodes/libiberty library],
[  --enable-commonbfdlib   build shared BFD/opcodes/libiberty library],
[case "${enableval}" in
[case "${enableval}" in
  yes) commonbfdlib=true ;;
  yes) commonbfdlib=true ;;
  no)  commonbfdlib=false ;;
  no)  commonbfdlib=false ;;
  *)   AC_MSG_ERROR([bad value ${enableval} for BFD commonbfdlib option]) ;;
  *)   AC_MSG_ERROR([bad value ${enableval} for BFD commonbfdlib option]) ;;
esac])dnl
esac])dnl
ac_checking=yes
ac_checking=yes
if grep '^RELEASE=y' ${srcdir}/../bfd/Makefile.am >/dev/null 2>/dev/null ; then
if grep '^RELEASE=y' ${srcdir}/../bfd/Makefile.am >/dev/null 2>/dev/null ; then
  ac_checking=
  ac_checking=
fi
fi
AC_ARG_ENABLE(checking,
AC_ARG_ENABLE(checking,
[  --enable-checking       enable run-time checks],
[  --enable-checking       enable run-time checks],
[case "${enableval}" in
[case "${enableval}" in
  no|none)  ac_checking= ;;
  no|none)  ac_checking= ;;
  *)        ac_checking=yes ;;
  *)        ac_checking=yes ;;
esac])dnl
esac])dnl
if test x$ac_checking != x ; then
if test x$ac_checking != x ; then
  AC_DEFINE(ENABLE_CHECKING, 1, [Define if you want run-time sanity checks.])
  AC_DEFINE(ENABLE_CHECKING, 1, [Define if you want run-time sanity checks.])
fi
fi
using_cgen=no
using_cgen=no
AM_BINUTILS_WARNINGS
AM_BINUTILS_WARNINGS
# Generate a header file
# Generate a header file
AM_CONFIG_HEADER(config.h:config.in)
AM_CONFIG_HEADER(config.h:config.in)
# If we are on a DOS filesystem, we must use gdb.ini rather than
# If we are on a DOS filesystem, we must use gdb.ini rather than
# .gdbinit.
# .gdbinit.
case "${host}" in
case "${host}" in
  *-*-msdos* | *-*-go32* | *-*-mingw32* | *-*-windows*)
  *-*-msdos* | *-*-go32* | *-*-mingw32* | *-*-windows*)
    GDBINIT="gdb.ini"
    GDBINIT="gdb.ini"
    AC_CONFIG_FILES(gdb.ini:gdbinit.in)
    AC_CONFIG_FILES(gdb.ini:gdbinit.in)
    ;;
    ;;
  *)
  *)
    GDBINIT=".gdbinit"
    GDBINIT=".gdbinit"
    AC_CONFIG_FILES(.gdbinit:gdbinit.in)
    AC_CONFIG_FILES(.gdbinit:gdbinit.in)
    ;;
    ;;
esac
esac
AC_SUBST(GDBINIT)
AC_SUBST(GDBINIT)
#We need this for the host.  BOUT header is in host order.
#We need this for the host.  BOUT header is in host order.
AC_C_BIGENDIAN
AC_C_BIGENDIAN
te_file=generic
te_file=generic
# Makefile target for installing gas in $(tooldir)/bin.
# Makefile target for installing gas in $(tooldir)/bin.
install_tooldir=install-exec-tooldir
install_tooldir=install-exec-tooldir
canon_targets=""
canon_targets=""
all_targets=no
all_targets=no
if test -n "$enable_targets" ; then
if test -n "$enable_targets" ; then
  for t in `echo $enable_targets | sed 's/,/ /g'`; do
  for t in `echo $enable_targets | sed 's/,/ /g'`; do
    if test $t = "all"; then
    if test $t = "all"; then
      all_targets=yes
      all_targets=yes
      continue
      continue
    fi
    fi
    result=`$ac_config_sub $t 2>/dev/null`
    result=`$ac_config_sub $t 2>/dev/null`
    if test -n "$result" ; then
    if test -n "$result" ; then
      canon_targets="$canon_targets $result"
      canon_targets="$canon_targets $result"
#    else
#    else
#      # Permit "all", etc.  We don't support it yet though.
#      # Permit "all", etc.  We don't support it yet though.
#      canon_targets="$canon_targets $t"
#      canon_targets="$canon_targets $t"
    fi
    fi
  done
  done
  GAS_UNIQ(canon_targets)
  GAS_UNIQ(canon_targets)
fi
fi
emulations=""
emulations=""
for this_target in $target $canon_targets ; do
for this_target in $target $canon_targets ; do
    targ=${this_target}
    targ=${this_target}
    . ${srcdir}/configure.tgt
    . ${srcdir}/configure.tgt
    case ${target_cpu} in
    case ${target_cpu} in
      crisv32)
      crisv32)
        AC_DEFINE_UNQUOTED(DEFAULT_CRIS_ARCH, $arch,
        AC_DEFINE_UNQUOTED(DEFAULT_CRIS_ARCH, $arch,
                           [Default CRIS architecture.])
                           [Default CRIS architecture.])
        ;;
        ;;
    esac
    esac
    if test ${this_target} = $target ; then
    if test ${this_target} = $target ; then
      target_cpu_type=${cpu_type}
      target_cpu_type=${cpu_type}
    elif test ${target_cpu_type} != ${cpu_type} ; then
    elif test ${target_cpu_type} != ${cpu_type} ; then
      continue
      continue
    fi
    fi
    generic_target=${cpu_type}-${target_vendor}-${target_os}
    generic_target=${cpu_type}-${target_vendor}-${target_os}
    case ${generic_target} in
    case ${generic_target} in
      i386-*-sco3.2v5*)
      i386-*-sco3.2v5*)
        if test ${this_target} = $target; then
        if test ${this_target} = $target; then
          AC_DEFINE(SCO_ELF, 1, [Define if defaulting to ELF on SCO 5.])
          AC_DEFINE(SCO_ELF, 1, [Define if defaulting to ELF on SCO 5.])
        fi
        fi
        ;;
        ;;
      i386-*-msdosdjgpp* \
      i386-*-msdosdjgpp* \
      | i386-*-go32* \
      | i386-*-go32* \
      | i386-go32-rtems*)
      | i386-go32-rtems*)
        AC_DEFINE(STRICTCOFF, 1, [Using strict COFF?])
        AC_DEFINE(STRICTCOFF, 1, [Using strict COFF?])
        ;;
        ;;
      i860-*-*)
      i860-*-*)
        AC_MSG_WARN(GAS support for ${generic_target} is preliminary and a work in progress)
        AC_MSG_WARN(GAS support for ${generic_target} is preliminary and a work in progress)
        ;;
        ;;
      mips-sony-bsd*)
      mips-sony-bsd*)
        ;;
        ;;
      mips-*-bsd*)
      mips-*-bsd*)
        AC_MSG_ERROR(Unknown vendor for mips-bsd configuration.)
        AC_MSG_ERROR(Unknown vendor for mips-bsd configuration.)
        ;;
        ;;
      ppc-*-aix5.*)
      ppc-*-aix5.*)
        AC_DEFINE(AIX_WEAK_SUPPORT, 1,
        AC_DEFINE(AIX_WEAK_SUPPORT, 1,
                  [Define if using AIX 5.2 value for C_WEAKEXT.])
                  [Define if using AIX 5.2 value for C_WEAKEXT.])
        ;;
        ;;
      ppc-*-linux-*)
      ppc-*-linux-*)
        case "$endian" in
        case "$endian" in
          big)  ;;
          big)  ;;
          *)    AC_MSG_ERROR(GNU/Linux must be configured big endian) ;;
          *)    AC_MSG_ERROR(GNU/Linux must be configured big endian) ;;
        esac
        esac
        ;;
        ;;
      ppc-*-solaris*)
      ppc-*-solaris*)
        if test ${this_target} = $target; then
        if test ${this_target} = $target; then
          AC_DEFINE(TARGET_SOLARIS_COMMENT, 1,
          AC_DEFINE(TARGET_SOLARIS_COMMENT, 1,
                    [Define if default target is PowerPC Solaris.])
                    [Define if default target is PowerPC Solaris.])
        fi
        fi
        if test x${endian} = xbig; then
        if test x${endian} = xbig; then
          AC_MSG_ERROR(Solaris must be configured little endian)
          AC_MSG_ERROR(Solaris must be configured little endian)
        fi
        fi
        ;;
        ;;
      sh*-*-symbianelf*)
      sh*-*-symbianelf*)
        AC_DEFINE(TARGET_SYMBIAN, 1, [Define if target is Symbian OS.])
        AC_DEFINE(TARGET_SYMBIAN, 1, [Define if target is Symbian OS.])
        ;;
        ;;
    esac
    esac
    if test ${this_target} = $target ; then
    if test ${this_target} = $target ; then
      endian_def=
      endian_def=
      if test x${endian} = xbig; then
      if test x${endian} = xbig; then
        endian_def=1
        endian_def=1
      elif test x${endian} = xlittle; then
      elif test x${endian} = xlittle; then
        endian_def=0
        endian_def=0
      fi
      fi
      if test x${endian_def} != x; then
      if test x${endian_def} != x; then
        AC_DEFINE_UNQUOTED(TARGET_BYTES_BIG_ENDIAN, $endian_def,
        AC_DEFINE_UNQUOTED(TARGET_BYTES_BIG_ENDIAN, $endian_def,
                           [Define as 1 if big endian.])
                           [Define as 1 if big endian.])
      fi
      fi
    fi
    fi
# Other random stuff.
# Other random stuff.
    case ${cpu_type} in
    case ${cpu_type} in
      mips)
      mips)
        # Set mips_cpu to the name of the default CPU.
        # Set mips_cpu to the name of the default CPU.
        case ${target_cpu} in
        case ${target_cpu} in
          mips | mipsbe | mipseb | mipsle | mipsel | mips64 | mips64el)
          mips | mipsbe | mipseb | mipsle | mipsel | mips64 | mips64el)
            mips_cpu=from-abi
            mips_cpu=from-abi
            ;;
            ;;
          mipsisa32 | mipsisa32el)
          mipsisa32 | mipsisa32el)
            mips_cpu=mips32
            mips_cpu=mips32
            ;;
            ;;
          mipsisa32r2 | mipsisa32r2el)
          mipsisa32r2 | mipsisa32r2el)
            mips_cpu=mips32r2
            mips_cpu=mips32r2
            ;;
            ;;
          mipsisa64 | mipsisa64el)
          mipsisa64 | mipsisa64el)
            mips_cpu=mips64
            mips_cpu=mips64
            ;;
            ;;
          mipsisa64r2 | mipsisa64r2el)
          mipsisa64r2 | mipsisa64r2el)
            mips_cpu=mips64r2
            mips_cpu=mips64r2
            ;;
            ;;
          mipstx39 | mipstx39el)
          mipstx39 | mipstx39el)
            mips_cpu=r3900
            mips_cpu=r3900
            ;;
            ;;
          mips64vr | mips64vrel)
          mips64vr | mips64vrel)
            mips_cpu=vr4100
            mips_cpu=vr4100
            ;;
            ;;
          mipsisa32r2* | mipsisa64r2*)
          mipsisa32r2* | mipsisa64r2*)
changequote(,)dnl
changequote(,)dnl
            mips_cpu=`echo $target_cpu | sed -e 's/[a-z]*..r2//' -e 's/el$//'`
            mips_cpu=`echo $target_cpu | sed -e 's/[a-z]*..r2//' -e 's/el$//'`
changequote([,])dnl
changequote([,])dnl
            ;;
            ;;
          mips64* | mipsisa64* | mipsisa32*)
          mips64* | mipsisa64* | mipsisa32*)
changequote(,)dnl
changequote(,)dnl
            mips_cpu=`echo $target_cpu | sed -e 's/[a-z]*..//' -e 's/el$//'`
            mips_cpu=`echo $target_cpu | sed -e 's/[a-z]*..//' -e 's/el$//'`
changequote([,])dnl
changequote([,])dnl
            ;;
            ;;
          *)
          *)
            AC_ERROR($target_cpu isn't a supported MIPS CPU name)
            AC_ERROR($target_cpu isn't a supported MIPS CPU name)
            ;;
            ;;
        esac
        esac
        # See whether it's appropriate to set E_MIPS_ABI_O32 for o32
        # See whether it's appropriate to set E_MIPS_ABI_O32 for o32
        # binaries.  It's a GNU extension that some OSes don't understand.
        # binaries.  It's a GNU extension that some OSes don't understand.
        # The value only matters on ELF targets.
        # The value only matters on ELF targets.
        case ${target} in
        case ${target} in
          *-*-irix*)
          *-*-irix*)
            use_e_mips_abi_o32=0
            use_e_mips_abi_o32=0
            ;;
            ;;
          *)
          *)
            use_e_mips_abi_o32=1
            use_e_mips_abi_o32=1
            ;;
            ;;
        esac
        esac
        # Decide whether to generate 32-bit or 64-bit code by default.
        # Decide whether to generate 32-bit or 64-bit code by default.
        # Used to resolve -march=from-abi when an embedded ABI is selected.
        # Used to resolve -march=from-abi when an embedded ABI is selected.
        case ${target} in
        case ${target} in
          mips64*-*-* | mipsisa64*-*-*)
          mips64*-*-* | mipsisa64*-*-*)
            mips_default_64bit=1
            mips_default_64bit=1
            ;;
            ;;
          *)
          *)
            mips_default_64bit=0
            mips_default_64bit=0
            ;;
            ;;
        esac
        esac
        # Decide which ABI to target by default.
        # Decide which ABI to target by default.
        case ${target} in
        case ${target} in
          mips64*-linux* | mips-sgi-irix6*)
          mips64*-linux* | mips-sgi-irix6*)
            mips_default_abi=N32_ABI
            mips_default_abi=N32_ABI
            ;;
            ;;
          mips*-linux*)
          mips*-linux*)
            mips_default_abi=O32_ABI
            mips_default_abi=O32_ABI
            ;;
            ;;
          mips64*-openbsd*)
          mips64*-openbsd*)
            mips_default_abi=N64_ABI
            mips_default_abi=N64_ABI
            ;;
            ;;
          *)
          *)
            mips_default_abi=NO_ABI
            mips_default_abi=NO_ABI
            ;;
            ;;
        esac
        esac
        AC_DEFINE_UNQUOTED(MIPS_CPU_STRING_DEFAULT, "$mips_cpu",
        AC_DEFINE_UNQUOTED(MIPS_CPU_STRING_DEFAULT, "$mips_cpu",
                           [Default CPU for MIPS targets. ])
                           [Default CPU for MIPS targets. ])
        AC_DEFINE_UNQUOTED(USE_E_MIPS_ABI_O32, $use_e_mips_abi_o32,
        AC_DEFINE_UNQUOTED(USE_E_MIPS_ABI_O32, $use_e_mips_abi_o32,
                           [Allow use of E_MIPS_ABI_O32 on MIPS targets. ])
                           [Allow use of E_MIPS_ABI_O32 on MIPS targets. ])
        AC_DEFINE_UNQUOTED(MIPS_DEFAULT_64BIT, $mips_default_64bit,
        AC_DEFINE_UNQUOTED(MIPS_DEFAULT_64BIT, $mips_default_64bit,
                           [Generate 64-bit code by default on MIPS targets. ])
                           [Generate 64-bit code by default on MIPS targets. ])
        AC_DEFINE_UNQUOTED(MIPS_DEFAULT_ABI, $mips_default_abi,
        AC_DEFINE_UNQUOTED(MIPS_DEFAULT_ABI, $mips_default_abi,
                           [Choose a default ABI for MIPS targets. ])
                           [Choose a default ABI for MIPS targets. ])
        ;;
        ;;
    esac
    esac
    # Do we need the opcodes library?
    # Do we need the opcodes library?
    case ${cpu_type} in
    case ${cpu_type} in
      vax | tic30)
      vax | tic30)
        ;;
        ;;
      *)
      *)
        need_opcodes=yes
        need_opcodes=yes
        case "${enable_shared}" in
        case "${enable_shared}" in
        yes) shared_opcodes=true ;;
        yes) shared_opcodes=true ;;
        *opcodes*) shared_opcodes=true ;;
        *opcodes*) shared_opcodes=true ;;
        *) shared_opcodes=false ;;
        *) shared_opcodes=false ;;
        esac
        esac
        ;;
        ;;
    esac
    esac
    # Any other special object files needed ?
    # Any other special object files needed ?
    case ${cpu_type} in
    case ${cpu_type} in
      bfin)
      bfin)
        echo ${extra_objects} | grep -s "bfin-parse.o"
        echo ${extra_objects} | grep -s "bfin-parse.o"
        if test $? -ne 0 ; then
        if test $? -ne 0 ; then
          extra_objects="$extra_objects bfin-parse.o"
          extra_objects="$extra_objects bfin-parse.o"
        fi
        fi
        echo ${extra_objects} | grep -s "bfin-lex.o"
        echo ${extra_objects} | grep -s "bfin-lex.o"
        if test $? -ne 0 ; then
        if test $? -ne 0 ; then
          extra_objects="$extra_objects bfin-lex.o"
          extra_objects="$extra_objects bfin-lex.o"
        fi
        fi
        ;;
        ;;
      fr30 | ip2k | iq2000 | m32r)
      fr30 | ip2k | iq2000 | m32r)
        using_cgen=yes
        using_cgen=yes
        ;;
        ;;
      m32c)
      m32c)
        using_cgen=yes
        using_cgen=yes
        ;;
        ;;
      frv)
      frv)
        using_cgen=yes
        using_cgen=yes
        ;;
        ;;
      m68k)
      m68k)
        case ${extra_objects} in
        case ${extra_objects} in
        *m68k-parse.o*) ;;
        *m68k-parse.o*) ;;
        *) extra_objects="$extra_objects m68k-parse.o" ;;
        *) extra_objects="$extra_objects m68k-parse.o" ;;
        esac
        esac
        ;;
        ;;
      mep)
      mep)
        using_cgen=yes
        using_cgen=yes
        ;;
        ;;
      mips)
      mips)
        echo ${extra_objects} | grep -s "itbl-parse.o"
        echo ${extra_objects} | grep -s "itbl-parse.o"
        if test $? -ne 0 ; then
        if test $? -ne 0 ; then
          extra_objects="$extra_objects itbl-parse.o"
          extra_objects="$extra_objects itbl-parse.o"
        fi
        fi
        echo ${extra_objects} | grep -s "itbl-lex.o"
        echo ${extra_objects} | grep -s "itbl-lex.o"
        if test $? -ne 0 ; then
        if test $? -ne 0 ; then
          extra_objects="$extra_objects itbl-lex.o"
          extra_objects="$extra_objects itbl-lex.o"
        fi
        fi
        echo ${extra_objects} | grep -s "itbl-ops.o"
        echo ${extra_objects} | grep -s "itbl-ops.o"
        if test $? -ne 0 ; then
        if test $? -ne 0 ; then
          extra_objects="$extra_objects itbl-ops.o"
          extra_objects="$extra_objects itbl-ops.o"
        fi
        fi
        ;;
        ;;
      mt)
      mt)
        using_cgen=yes
        using_cgen=yes
        ;;
        ;;
      i386 | s390 | sparc)
      i386 | s390 | sparc)
        if test $this_target = $target ; then
        if test $this_target = $target ; then
          AC_DEFINE_UNQUOTED(DEFAULT_ARCH, "${arch}", [Default architecture.])
          AC_DEFINE_UNQUOTED(DEFAULT_ARCH, "${arch}", [Default architecture.])
        fi
        fi
        ;;
        ;;
      xstormy16)
      xstormy16)
        using_cgen=yes
        using_cgen=yes
        ;;
        ;;
      xc16x)
      xc16x)
        using_cgen=yes
        using_cgen=yes
        ;;
        ;;
      xtensa)
      xtensa)
        echo ${extra_objects} | grep -s "xtensa-relax.o"
        echo ${extra_objects} | grep -s "xtensa-relax.o"
        if test $? -ne 0 ; then
        if test $? -ne 0 ; then
          extra_objects="$extra_objects xtensa-relax.o"
          extra_objects="$extra_objects xtensa-relax.o"
        fi
        fi
        ;;
        ;;
      *)
      *)
        ;;
        ;;
    esac
    esac
    if test $using_cgen = yes ; then
    if test $using_cgen = yes ; then
        case "x${extra_objects}" in
        case "x${extra_objects}" in
        *cgen.o*) ;;
        *cgen.o*) ;;
        *) extra_objects="$extra_objects cgen.o" ;;
        *) extra_objects="$extra_objects cgen.o" ;;
        esac
        esac
    fi
    fi
# See if we really can support this configuration with the emulation code.
# See if we really can support this configuration with the emulation code.
    if test $this_target = $target ; then
    if test $this_target = $target ; then
      obj_format=$fmt
      obj_format=$fmt
      te_file=$em
      te_file=$em
    fi
    fi
# From target name and format, produce a list of supported emulations.
# From target name and format, produce a list of supported emulations.
    case ${generic_target}-${fmt} in
    case ${generic_target}-${fmt} in
      mips-*-irix5*-*)  emulation="mipsbelf mipslelf mipself mipsbecoff mipslecoff mipsecoff" ;;
      mips-*-irix5*-*)  emulation="mipsbelf mipslelf mipself mipsbecoff mipslecoff mipsecoff" ;;
      mips*-*-linux*-*) case "$endian" in
      mips*-*-linux*-*) case "$endian" in
                        big)    emulation="mipsbelf mipslelf mipself" ;;
                        big)    emulation="mipsbelf mipslelf mipself" ;;
                        *)      emulation="mipslelf mipsbelf mipself" ;;
                        *)      emulation="mipslelf mipsbelf mipself" ;;
                        esac ;;
                        esac ;;
      mips-*-lnews*-ecoff) ;;
      mips-*-lnews*-ecoff) ;;
      mips-*-*-ecoff)   case "$endian" in
      mips-*-*-ecoff)   case "$endian" in
                        big)    emulation="mipsbecoff mipslecoff mipsecoff" ;;
                        big)    emulation="mipsbecoff mipslecoff mipsecoff" ;;
                        *)      emulation="mipslecoff mipsbecoff mipsecoff" ;;
                        *)      emulation="mipslecoff mipsbecoff mipsecoff" ;;
                        esac ;;
                        esac ;;
      mips-*-*-elf)     case "$endian" in
      mips-*-*-elf)     case "$endian" in
                        big)    emulation="mipsbelf mipslelf mipself" ;;
                        big)    emulation="mipsbelf mipslelf mipself" ;;
                        *)      emulation="mipslelf mipsbelf mipself" ;;
                        *)      emulation="mipslelf mipsbelf mipself" ;;
                        esac ;;
                        esac ;;
      mips-*-sysv4*MP*-*) emulation="mipsbelf mipslelf mipself mipsbecoff mipslecoff mipsecoff" ;;
      mips-*-sysv4*MP*-*) emulation="mipsbelf mipslelf mipself mipsbecoff mipslecoff mipsecoff" ;;
      # i386-pc-pe-coff != i386-pc-coff.
      # i386-pc-pe-coff != i386-pc-coff.
      i386-*-pe-coff)   ;;
      i386-*-pe-coff)   ;;
      # Uncommenting the next line will turn on support for i386 AOUT
      # Uncommenting the next line will turn on support for i386 AOUT
      # for the default linux configuration
      # for the default linux configuration
      # i386-*-linux*-elf) emulation="i386elf i386aout" ;;
      # i386-*-linux*-elf) emulation="i386elf i386aout" ;;
      #
      #
      i386-*-aout)      emulation="i386aout" ;;
      i386-*-aout)      emulation="i386aout" ;;
      i386-*-coff)      emulation="i386coff" ;;
      i386-*-coff)      emulation="i386coff" ;;
      i386-*-elf)       emulation="i386elf" ;;
      i386-*-elf)       emulation="i386elf" ;;
      # Always all formats.  The first stated emulation becomes the default.
      # Always all formats.  The first stated emulation becomes the default.
      cris-*-*aout*)    emulation="crisaout criself" ;;
      cris-*-*aout*)    emulation="crisaout criself" ;;
      cris-*-*)         emulation="criself crisaout" ;;
      cris-*-*)         emulation="criself crisaout" ;;
    esac
    esac
    emulations="$emulations $emulation"
    emulations="$emulations $emulation"
done
done
# Turn on all targets if possible
# Turn on all targets if possible
if test ${all_targets} = "yes"; then
if test ${all_targets} = "yes"; then
  case ${target_cpu_type} in
  case ${target_cpu_type} in
  i386)
  i386)
    case ${obj_format} in
    case ${obj_format} in
    aout)
    aout)
      emulations="$emulations i386coff i386elf"
      emulations="$emulations i386coff i386elf"
      ;;
      ;;
    coff)
    coff)
      emulations="$emulations i386aout i386elf"
      emulations="$emulations i386aout i386elf"
    ;;
    ;;
    elf)
    elf)
      emulations="$emulations i386aout i386coff"
      emulations="$emulations i386aout i386coff"
      ;;
      ;;
    esac
    esac
  ;;
  ;;
  x86_64)
  x86_64)
    case ${obj_format} in
    case ${obj_format} in
    aout)
    aout)
      emulations="$emulations i386coff i386elf"
      emulations="$emulations i386coff i386elf"
      ;;
      ;;
    coff)
    coff)
      emulations="$emulations i386aout i386elf"
      emulations="$emulations i386aout i386elf"
    ;;
    ;;
    elf)
    elf)
      emulations="$emulations i386aout i386coff"
      emulations="$emulations i386aout i386coff"
      ;;
      ;;
    esac
    esac
  ;;
  ;;
  esac
  esac
fi
fi
# Assign floating point type.  Most processors with FP support
# Assign floating point type.  Most processors with FP support
# IEEE FP.  On those that don't support FP at all, usually IEEE
# IEEE FP.  On those that don't support FP at all, usually IEEE
# is emulated.
# is emulated.
case ${target_cpu} in
case ${target_cpu} in
  vax | pdp11 ) atof=vax ;;
  vax | pdp11 ) atof=vax ;;
  *)            atof=ieee ;;
  *)            atof=ieee ;;
esac
esac
case "${obj_format}" in
case "${obj_format}" in
  "") AC_MSG_ERROR(GAS does not know what format to use for target ${target}) ;;
  "") AC_MSG_ERROR(GAS does not know what format to use for target ${target}) ;;
esac
esac
# Unfortunately the cpu in cpu-opc.h file isn't always $(TARGET_CPU).
# Unfortunately the cpu in cpu-opc.h file isn't always $(TARGET_CPU).
cgen_cpu_prefix=""
cgen_cpu_prefix=""
if test $using_cgen = yes ; then
if test $using_cgen = yes ; then
  case ${target_cpu} in
  case ${target_cpu} in
    *) cgen_cpu_prefix=${target_cpu} ;;
    *) cgen_cpu_prefix=${target_cpu} ;;
  esac
  esac
  AC_SUBST(cgen_cpu_prefix)
  AC_SUBST(cgen_cpu_prefix)
  AC_DEFINE(USING_CGEN, 1, [Using cgen code?])
  AC_DEFINE(USING_CGEN, 1, [Using cgen code?])
fi
fi
dnl
dnl
dnl Make sure the desired support files exist.
dnl Make sure the desired support files exist.
dnl
dnl
if test ! -r ${srcdir}/config/tc-${target_cpu_type}.c; then
if test ! -r ${srcdir}/config/tc-${target_cpu_type}.c; then
  AC_MSG_ERROR(GAS does not support target CPU ${target_cpu_type})
  AC_MSG_ERROR(GAS does not support target CPU ${target_cpu_type})
fi
fi
if test ! -r ${srcdir}/config/obj-${obj_format}.c; then
if test ! -r ${srcdir}/config/obj-${obj_format}.c; then
  AC_MSG_ERROR(GAS does not have support for object file format ${obj_format})
  AC_MSG_ERROR(GAS does not have support for object file format ${obj_format})
fi
fi
# Some COFF configurations want these random other flags set.
# Some COFF configurations want these random other flags set.
case ${obj_format} in
case ${obj_format} in
  coff)
  coff)
    case ${target_cpu_type} in
    case ${target_cpu_type} in
      i386) AC_DEFINE(I386COFF, 1, [Using i386 COFF?]) ;;
      i386) AC_DEFINE(I386COFF, 1, [Using i386 COFF?]) ;;
      m68k) AC_DEFINE(M68KCOFF, 1, [Using m68k COFF?]) ;;
      m68k) AC_DEFINE(M68KCOFF, 1, [Using m68k COFF?]) ;;
      m88k) AC_DEFINE(M88KCOFF, 1, [Using m88k COFF?]) ;;
      m88k) AC_DEFINE(M88KCOFF, 1, [Using m88k COFF?]) ;;
      x86_64) AC_DEFINE(I386COFF, 1, [Using i386 COFF?]) ;;
      x86_64) AC_DEFINE(I386COFF, 1, [Using i386 COFF?]) ;;
    esac
    esac
    ;;
    ;;
esac
esac
# Getting this done right is going to be a bitch.  Each configuration specified
# Getting this done right is going to be a bitch.  Each configuration specified
# with --enable-targets=... should be checked for environment, format, cpu
# with --enable-targets=... should be checked for environment, format, cpu
# setting.
# setting.
#
#
# For each configuration, the necessary object file support code must be linked
# For each configuration, the necessary object file support code must be linked
# in.  This might be only one, it might be up to four.  The necessary emulation
# in.  This might be only one, it might be up to four.  The necessary emulation
# code needs to be provided, too.
# code needs to be provided, too.
#
#
# And then there's "--enable-targets=all"....
# And then there's "--enable-targets=all"....
#
#
# For now, just always do it for MIPS ELF or ECOFF configurations.  Sigh.
# For now, just always do it for MIPS ELF or ECOFF configurations.  Sigh.
formats="${obj_format}"
formats="${obj_format}"
emfiles=""
emfiles=""
EMULATIONS=""
EMULATIONS=""
GAS_UNIQ(emulations)
GAS_UNIQ(emulations)
for em in . $emulations ; do
for em in . $emulations ; do
  case $em in
  case $em in
    .)  continue ;;
    .)  continue ;;
    mipsbelf | mipslelf | mipself)
    mipsbelf | mipslelf | mipself)
        fmt=elf   file=mipself ;;
        fmt=elf   file=mipself ;;
    mipsbecoff | mipslecoff | mipsecoff)
    mipsbecoff | mipslecoff | mipsecoff)
        fmt=ecoff file=mipsecoff ;;
        fmt=ecoff file=mipsecoff ;;
    *coff)
    *coff)
        fmt=coff  file=$em ;;
        fmt=coff  file=$em ;;
    *aout)
    *aout)
        fmt=aout file=$em ;;
        fmt=aout file=$em ;;
    *elf)
    *elf)
        fmt=elf file=$em ;;
        fmt=elf file=$em ;;
  esac
  esac
  formats="$formats $fmt"
  formats="$formats $fmt"
  emfiles="$emfiles e-$file.o"
  emfiles="$emfiles e-$file.o"
  EMULATIONS="$EMULATIONS &$em,"
  EMULATIONS="$EMULATIONS &$em,"
done
done
GAS_UNIQ(formats)
GAS_UNIQ(formats)
GAS_UNIQ(emfiles)
GAS_UNIQ(emfiles)
if test `set . $formats ; shift ; echo $#` -gt 1 ; then
if test `set . $formats ; shift ; echo $#` -gt 1 ; then
  for fmt in $formats ; do
  for fmt in $formats ; do
    case $fmt in
    case $fmt in
      aout)     AC_DEFINE(OBJ_MAYBE_AOUT, 1,    [a.out support?])   ;;
      aout)     AC_DEFINE(OBJ_MAYBE_AOUT, 1,    [a.out support?])   ;;
      bout)     AC_DEFINE(OBJ_MAYBE_BOUT, 1,    [b.out support?])   ;;
      bout)     AC_DEFINE(OBJ_MAYBE_BOUT, 1,    [b.out support?])   ;;
      coff)     AC_DEFINE(OBJ_MAYBE_COFF, 1,    [COFF support?])    ;;
      coff)     AC_DEFINE(OBJ_MAYBE_COFF, 1,    [COFF support?])    ;;
      ecoff)    AC_DEFINE(OBJ_MAYBE_ECOFF, 1,   [ECOFF support?])   ;;
      ecoff)    AC_DEFINE(OBJ_MAYBE_ECOFF, 1,   [ECOFF support?])   ;;
      elf)      AC_DEFINE(OBJ_MAYBE_ELF, 1,     [ELF support?])     ;;
      elf)      AC_DEFINE(OBJ_MAYBE_ELF, 1,     [ELF support?])     ;;
      generic)  AC_DEFINE(OBJ_MAYBE_GENERIC, 1, [generic support?]) ;;
      generic)  AC_DEFINE(OBJ_MAYBE_GENERIC, 1, [generic support?]) ;;
      som)      AC_DEFINE(OBJ_MAYBE_SOM, 1,     [SOM support?])     ;;
      som)      AC_DEFINE(OBJ_MAYBE_SOM, 1,     [SOM support?])     ;;
    esac
    esac
    extra_objects="$extra_objects obj-$fmt.o"
    extra_objects="$extra_objects obj-$fmt.o"
  done
  done
  obj_format=multi
  obj_format=multi
fi
fi
if test `set . $emfiles ; shift ; echo $#` -gt 0 ; then
if test `set . $emfiles ; shift ; echo $#` -gt 0 ; then
  DEFAULT_EMULATION=`set . $emulations ; echo $2`
  DEFAULT_EMULATION=`set . $emulations ; echo $2`
  # e-mips* has more than one emulation per file, e-i386* has just one at the
  # e-mips* has more than one emulation per file, e-i386* has just one at the
  # moment.  If only one emulation is specified, then don't define
  # moment.  If only one emulation is specified, then don't define
  # USE_EMULATIONS or include any of the e-files as they will only be bloat.
  # USE_EMULATIONS or include any of the e-files as they will only be bloat.
  case "${obj_format}${emfiles}" in
  case "${obj_format}${emfiles}" in
    multi* | *mips*)
    multi* | *mips*)
      extra_objects="$extra_objects $emfiles"
      extra_objects="$extra_objects $emfiles"
      AC_DEFINE(USE_EMULATIONS, 1, [Use emulation support?]) ;;
      AC_DEFINE(USE_EMULATIONS, 1, [Use emulation support?]) ;;
  esac
  esac
fi
fi
AC_SUBST(extra_objects)
AC_SUBST(extra_objects)
AC_DEFINE_UNQUOTED(EMULATIONS, $EMULATIONS, [Supported emulations.])
AC_DEFINE_UNQUOTED(EMULATIONS, $EMULATIONS, [Supported emulations.])
AC_DEFINE_UNQUOTED(DEFAULT_EMULATION, "$DEFAULT_EMULATION",
AC_DEFINE_UNQUOTED(DEFAULT_EMULATION, "$DEFAULT_EMULATION",
                   [Default emulation.])
                   [Default emulation.])
reject_dev_configs=yes
reject_dev_configs=yes
case ${reject_dev_configs}-${dev} in
case ${reject_dev_configs}-${dev} in
  yes-yes) # Oops.
  yes-yes) # Oops.
    AC_MSG_ERROR(GAS does not support the ${generic_target} configuration.)
    AC_MSG_ERROR(GAS does not support the ${generic_target} configuration.)
    ;;
    ;;
esac
esac
AC_SUBST(target_cpu_type)
AC_SUBST(target_cpu_type)
AC_SUBST(obj_format)
AC_SUBST(obj_format)
AC_SUBST(te_file)
AC_SUBST(te_file)
AC_SUBST(install_tooldir)
AC_SUBST(install_tooldir)
AC_SUBST(atof)
AC_SUBST(atof)
dnl AC_SUBST(emulation)
dnl AC_SUBST(emulation)
# do we need the opcodes library?
# do we need the opcodes library?
case "${need_opcodes}" in
case "${need_opcodes}" in
yes)
yes)
  OPCODES_LIB=../opcodes/libopcodes.la
  OPCODES_LIB=../opcodes/libopcodes.la
  ;;
  ;;
esac
esac
AC_SUBST(OPCODES_LIB)
AC_SUBST(OPCODES_LIB)
AC_DEFINE_UNQUOTED(TARGET_ALIAS,        "${target_alias}", [Target alias.])
AC_DEFINE_UNQUOTED(TARGET_ALIAS,        "${target_alias}", [Target alias.])
AC_DEFINE_UNQUOTED(TARGET_CANONICAL,    "${target}",       [Canonical target.])
AC_DEFINE_UNQUOTED(TARGET_CANONICAL,    "${target}",       [Canonical target.])
AC_DEFINE_UNQUOTED(TARGET_CPU,          "${target_cpu}",   [Target CPU.])
AC_DEFINE_UNQUOTED(TARGET_CPU,          "${target_cpu}",   [Target CPU.])
AC_DEFINE_UNQUOTED(TARGET_VENDOR,       "${target_vendor}", [Target vendor.])
AC_DEFINE_UNQUOTED(TARGET_VENDOR,       "${target_vendor}", [Target vendor.])
AC_DEFINE_UNQUOTED(TARGET_OS,           "${target_os}",    [Target OS.])
AC_DEFINE_UNQUOTED(TARGET_OS,           "${target_os}",    [Target OS.])
AC_PROG_YACC
AC_PROG_YACC
AM_PROG_LEX
AM_PROG_LEX
ALL_LINGUAS="fr tr es rw"
ALL_LINGUAS="fr tr es rw"
ZW_GNU_GETTEXT_SISTER_DIR
ZW_GNU_GETTEXT_SISTER_DIR
AM_PO_SUBDIRS
AM_PO_SUBDIRS
AM_MAINTAINER_MODE
AM_MAINTAINER_MODE
AM_CONDITIONAL(GENINSRC_NEVER, false)
AM_CONDITIONAL(GENINSRC_NEVER, false)
AC_EXEEXT
AC_EXEEXT
AC_CHECK_HEADERS(string.h stdlib.h memory.h strings.h unistd.h stdarg.h varargs.h errno.h sys/types.h limits.h)
AC_CHECK_HEADERS(string.h stdlib.h memory.h strings.h unistd.h stdarg.h varargs.h errno.h sys/types.h limits.h)
# Put this here so that autoconf's "cross-compiling" message doesn't confuse
# Put this here so that autoconf's "cross-compiling" message doesn't confuse
# people who are not cross-compiling but are compiling cross-assemblers.
# people who are not cross-compiling but are compiling cross-assemblers.
AC_MSG_CHECKING(whether compiling a cross-assembler)
AC_MSG_CHECKING(whether compiling a cross-assembler)
if test "${host}" = "${target}"; then
if test "${host}" = "${target}"; then
  cross_gas=no
  cross_gas=no
else
else
  cross_gas=yes
  cross_gas=yes
  AC_DEFINE(CROSS_COMPILE, 1, [Compiling cross-assembler?])
  AC_DEFINE(CROSS_COMPILE, 1, [Compiling cross-assembler?])
fi
fi
AC_MSG_RESULT($cross_gas)
AC_MSG_RESULT($cross_gas)
dnl ansidecl.h will deal with const
dnl ansidecl.h will deal with const
dnl AC_CONST
dnl AC_CONST
AC_FUNC_ALLOCA
AC_FUNC_ALLOCA
AC_C_INLINE
AC_C_INLINE
# VMS doesn't have unlink.
# VMS doesn't have unlink.
AC_CHECK_FUNCS(unlink remove, break)
AC_CHECK_FUNCS(unlink remove, break)
# Some systems don't have sbrk().
# Some systems don't have sbrk().
AC_CHECK_FUNCS(sbrk)
AC_CHECK_FUNCS(sbrk)
# do we need the math library?
# do we need the math library?
case "${need_libm}" in
case "${need_libm}" in
yes)
yes)
  AC_CHECK_LIBM
  AC_CHECK_LIBM
  AC_SUBST(LIBM)
  AC_SUBST(LIBM)
  ;;
  ;;
esac
esac
# Some non-ANSI preprocessors botch requoting inside strings.  That's bad
# Some non-ANSI preprocessors botch requoting inside strings.  That's bad
# enough, but on some of those systems, the assert macro relies on requoting
# enough, but on some of those systems, the assert macro relies on requoting
# working properly!
# working properly!
GAS_WORKING_ASSERT
GAS_WORKING_ASSERT
# On some systems, the system header files may not declare malloc, realloc,
# On some systems, the system header files may not declare malloc, realloc,
# and free.  There are places where gas needs these functions to have been
# and free.  There are places where gas needs these functions to have been
# declared -- such as when taking their addresses.
# declared -- such as when taking their addresses.
gas_test_headers="
gas_test_headers="
#ifdef HAVE_MEMORY_H
#ifdef HAVE_MEMORY_H
#include 
#include 
#endif
#endif
#ifdef HAVE_STRING_H
#ifdef HAVE_STRING_H
#include 
#include 
#else
#else
#ifdef HAVE_STRINGS_H
#ifdef HAVE_STRINGS_H
#include 
#include 
#endif
#endif
#endif
#endif
#ifdef HAVE_STDLIB_H
#ifdef HAVE_STDLIB_H
#include 
#include 
#endif
#endif
#ifdef HAVE_UNISTD_H
#ifdef HAVE_UNISTD_H
#include 
#include 
#endif
#endif
"
"
# Does errno.h declare errno, or do we have to add a separate declaration
# Does errno.h declare errno, or do we have to add a separate declaration
# for it?
# for it?
GAS_CHECK_DECL_NEEDED(errno, f, int f, [
GAS_CHECK_DECL_NEEDED(errno, f, int f, [
#ifdef HAVE_ERRNO_H
#ifdef HAVE_ERRNO_H
#include 
#include 
#endif
#endif
])
])
AC_MSG_CHECKING(for a known getopt prototype in unistd.h)
AC_MSG_CHECKING(for a known getopt prototype in unistd.h)
AC_CACHE_VAL(gas_cv_decl_getopt_unistd_h,
AC_CACHE_VAL(gas_cv_decl_getopt_unistd_h,
[AC_TRY_COMPILE([#include ], [extern int getopt (int, char *const*, const char *);],
[AC_TRY_COMPILE([#include ], [extern int getopt (int, char *const*, const char *);],
gas_cv_decl_getopt_unistd_h=yes, gas_cv_decl_getopt_unistd_h=no)])
gas_cv_decl_getopt_unistd_h=yes, gas_cv_decl_getopt_unistd_h=no)])
AC_MSG_RESULT($gas_cv_decl_getopt_unistd_h)
AC_MSG_RESULT($gas_cv_decl_getopt_unistd_h)
if test $gas_cv_decl_getopt_unistd_h = yes; then
if test $gas_cv_decl_getopt_unistd_h = yes; then
  AC_DEFINE([HAVE_DECL_GETOPT], 1,
  AC_DEFINE([HAVE_DECL_GETOPT], 1,
            [Is the prototype for getopt in  in the expected format?])
            [Is the prototype for getopt in  in the expected format?])
fi
fi
GAS_CHECK_DECL_NEEDED(environ, f, char **f, $gas_test_headers)
GAS_CHECK_DECL_NEEDED(environ, f, char **f, $gas_test_headers)
GAS_CHECK_DECL_NEEDED(ffs, f, int (*f)(int), $gas_test_headers)
GAS_CHECK_DECL_NEEDED(ffs, f, int (*f)(int), $gas_test_headers)
GAS_CHECK_DECL_NEEDED(free, f, void (*f)(), $gas_test_headers)
GAS_CHECK_DECL_NEEDED(free, f, void (*f)(), $gas_test_headers)
GAS_CHECK_DECL_NEEDED(malloc, f, char *(*f)(), $gas_test_headers)
GAS_CHECK_DECL_NEEDED(malloc, f, char *(*f)(), $gas_test_headers)
GAS_CHECK_DECL_NEEDED(sbrk, f, char *(*f)(), $gas_test_headers)
GAS_CHECK_DECL_NEEDED(sbrk, f, char *(*f)(), $gas_test_headers)
GAS_CHECK_DECL_NEEDED(strstr, f, char *(*f)(), $gas_test_headers)
GAS_CHECK_DECL_NEEDED(strstr, f, char *(*f)(), $gas_test_headers)
AC_CHECK_DECLS([vsnprintf])
AC_CHECK_DECLS([vsnprintf])
BFD_BINARY_FOPEN
BFD_BINARY_FOPEN
dnl Required for html and install-html targets.
dnl Required for html and install-html targets.
AC_SUBST(datarootdir)
AC_SUBST(datarootdir)
AC_SUBST(docdir)
AC_SUBST(docdir)
AC_SUBST(htmldir)
AC_SUBST(htmldir)
dnl This must come last.
dnl This must come last.
dnl We used to make symlinks to files in the source directory, but now
dnl We used to make symlinks to files in the source directory, but now
dnl we just use the right name for .c files, and create .h files in
dnl we just use the right name for .c files, and create .h files in
dnl the build directory which include the right .h file.  Make sure
dnl the build directory which include the right .h file.  Make sure
dnl the old symlinks don't exist, so that a reconfigure in an existing
dnl the old symlinks don't exist, so that a reconfigure in an existing
dnl directory behaves reasonably.
dnl directory behaves reasonably.
AC_CONFIG_FILES(Makefile doc/Makefile po/Makefile.in:po/Make-in)
AC_CONFIG_FILES(Makefile doc/Makefile po/Makefile.in:po/Make-in)
AC_CONFIG_COMMANDS([default],
AC_CONFIG_COMMANDS([default],
[rm -f targ-cpu.c targ-cpu.h obj-format.h obj-format.c targ-env.h atof-targ.c itbl-cpu.h
[rm -f targ-cpu.c targ-cpu.h obj-format.h obj-format.c targ-env.h atof-targ.c itbl-cpu.h
 echo '#include "tc-'"${target_cpu_type}"'.h"' > targ-cpu.h
 echo '#include "tc-'"${target_cpu_type}"'.h"' > targ-cpu.h
 echo '#include "obj-'"${obj_format}"'.h"' > obj-format.h
 echo '#include "obj-'"${obj_format}"'.h"' > obj-format.h
 echo '#include "te-'"${te_file}"'.h"' > targ-env.h
 echo '#include "te-'"${te_file}"'.h"' > targ-env.h
 echo '#include "itbl-'"${target_cpu_type}"'.h"' > itbl-cpu.h
 echo '#include "itbl-'"${target_cpu_type}"'.h"' > itbl-cpu.h
 if test "x$cgen_cpu_prefix" != x ; then
 if test "x$cgen_cpu_prefix" != x ; then
   echo '#include "opcodes/'"${cgen_cpu_prefix}"'-desc.h"' > cgen-desc.h
   echo '#include "opcodes/'"${cgen_cpu_prefix}"'-desc.h"' > cgen-desc.h
 fi],
 fi],
[target_cpu_type=${target_cpu_type}
[target_cpu_type=${target_cpu_type}
 cgen_cpu_prefix=${cgen_cpu_prefix}
 cgen_cpu_prefix=${cgen_cpu_prefix}
 obj_format=${obj_format}
 obj_format=${obj_format}
 te_file=${te_file}])
 te_file=${te_file}])
AC_OUTPUT
AC_OUTPUT
 
 

powered by: WebSVN 2.1.0

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