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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [newlib-1.17.0/] [libgloss/] [configure.in] - Diff between revs 158 and 816

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

Rev 158 Rev 816
dnl Process this file with autoconf to produce a configure script.
dnl Process this file with autoconf to produce a configure script.
AC_PREREQ(2.59)
AC_PREREQ(2.59)
AC_INIT([libgloss],[LIBGLOSS_VERSION])
AC_INIT([libgloss],[LIBGLOSS_VERSION])
AC_CONFIG_SRCDIR([libnosys])
AC_CONFIG_SRCDIR([libnosys])
if test "${enable_shared}" = "yes" ; then
if test "${enable_shared}" = "yes" ; then
    echo "Shared libraries not supported for cross compiling, ignored"
    echo "Shared libraries not supported for cross compiling, ignored"
fi
fi
if test "${srcdir}" = "." ; then
if test "${srcdir}" = "." ; then
  if test "${with_target_subdir}" != "." ; then
  if test "${with_target_subdir}" != "." ; then
    libgloss_topdir="${srcdir}/${with_multisrctop}../.."
    libgloss_topdir="${srcdir}/${with_multisrctop}../.."
  else
  else
    libgloss_topdir="${srcdir}/${with_multisrctop}.."
    libgloss_topdir="${srcdir}/${with_multisrctop}.."
  fi
  fi
else
else
  libgloss_topdir="${srcdir}/.."
  libgloss_topdir="${srcdir}/.."
fi
fi
AC_CONFIG_AUX_DIR($libgloss_topdir)
AC_CONFIG_AUX_DIR($libgloss_topdir)
AC_PROG_INSTALL
AC_PROG_INSTALL
AC_CANONICAL_SYSTEM
AC_CANONICAL_SYSTEM
AM_INIT_AUTOMAKE([cygnus no-define 1.9.5])
AM_INIT_AUTOMAKE([cygnus no-define 1.9.5])
if test -z "${with_multisubdir}" ; then
if test -z "${with_multisubdir}" ; then
  AC_CONFIG_SUBDIRS(doc)
  AC_CONFIG_SUBDIRS(doc)
fi
fi
AC_CONFIG_SUBDIRS(libnosys)
AC_CONFIG_SUBDIRS(libnosys)
case "${target}" in
case "${target}" in
  i[[3456]]86-*-elf* | i[[3456]]86-*-coff*)
  i[[3456]]86-*-elf* | i[[3456]]86-*-coff*)
        AC_CONFIG_SUBDIRS(i386)
        AC_CONFIG_SUBDIRS(i386)
        config_testsuite=true
        config_testsuite=true
        ;;
        ;;
  m32r-*-*)
  m32r-*-*)
        AC_CONFIG_SUBDIRS(m32r)
        AC_CONFIG_SUBDIRS(m32r)
        config_testsuite=true
        config_testsuite=true
        ;;
        ;;
  m68hc11-*-* | m6811-*-* | m68hc12-*-* | m6812-*-*)
  m68hc11-*-* | m6811-*-* | m68hc12-*-* | m6812-*-*)
        AC_CONFIG_SUBDIRS(m68hc11)
        AC_CONFIG_SUBDIRS(m68hc11)
        config_testsuite=true
        config_testsuite=true
        ;;
        ;;
  fido-*-* | m68*-*-*)
  fido-*-* | m68*-*-*)
        AC_CONFIG_SUBDIRS(m68k)
        AC_CONFIG_SUBDIRS(m68k)
        config_testsuite=true
        config_testsuite=true
        ;;
        ;;
  hppa*-*-pro*)
  hppa*-*-pro*)
        AC_CONFIG_SUBDIRS(pa)
        AC_CONFIG_SUBDIRS(pa)
        config_testsuite=true
        config_testsuite=true
        ;;
        ;;
  i960-*-coff)
  i960-*-coff)
        AC_CONFIG_SUBDIRS(i960)
        AC_CONFIG_SUBDIRS(i960)
        config_testsuite=true
        config_testsuite=true
        ;;
        ;;
  sparclet-*-aout* | sparc-*-elf* | sparc64-*-elf* | sparc86x-*-* | sparclite-*-*)
  sparclet-*-aout* | sparc-*-elf* | sparc64-*-elf* | sparc86x-*-* | sparclite-*-*)
        AC_CONFIG_SUBDIRS(sparc)
        AC_CONFIG_SUBDIRS(sparc)
        config_testsuite=true
        config_testsuite=true
        ;;
        ;;
  sh*-*-pe | mips*-*-pe | *arm-wince-pe)
  sh*-*-pe | mips*-*-pe | *arm-wince-pe)
        AC_CONFIG_SUBDIRS(wince)
        AC_CONFIG_SUBDIRS(wince)
        ;;
        ;;
  mips*-*-*)
  mips*-*-*)
        AC_CONFIG_SUBDIRS(mips)
        AC_CONFIG_SUBDIRS(mips)
        config_testsuite=true
        config_testsuite=true
        ;;
        ;;
  powerpc-*-*|powerpcle-*-*)
  powerpc-*-*|powerpcle-*-*)
        AC_CONFIG_SUBDIRS(rs6000)
        AC_CONFIG_SUBDIRS(rs6000)
        config_testsuite=true
        config_testsuite=true
        ;;
        ;;
  mn10200-*-*)
  mn10200-*-*)
        AC_CONFIG_SUBDIRS(mn10200)
        AC_CONFIG_SUBDIRS(mn10200)
        config_testsuite=true
        config_testsuite=true
        ;;
        ;;
  mn10300-*-*)
  mn10300-*-*)
        AC_CONFIG_SUBDIRS(mn10300)
        AC_CONFIG_SUBDIRS(mn10300)
        config_testsuite=true
        config_testsuite=true
        ;;
        ;;
  bfin-*-*)
  bfin-*-*)
        AC_CONFIG_SUBDIRS(bfin)
        AC_CONFIG_SUBDIRS(bfin)
        config_testsuite=true
        config_testsuite=true
        ;;
        ;;
  cris-*-* | crisv32-*-*)
  cris-*-* | crisv32-*-*)
        AC_CONFIG_SUBDIRS(cris)
        AC_CONFIG_SUBDIRS(cris)
        config_testsuite=true
        config_testsuite=true
        ;;
        ;;
  crx-*-*)
  crx-*-*)
        AC_CONFIG_SUBDIRS(crx)
        AC_CONFIG_SUBDIRS(crx)
        ;;
        ;;
  d30v-*-*)
  d30v-*-*)
        AC_CONFIG_SUBDIRS(d30v)
        AC_CONFIG_SUBDIRS(d30v)
        config_testsuite=true
        config_testsuite=true
        ;;
        ;;
  fr30-*-*)
  fr30-*-*)
        AC_CONFIG_SUBDIRS(fr30)
        AC_CONFIG_SUBDIRS(fr30)
        config_testsuite=true
        config_testsuite=true
        ;;
        ;;
  frv*-*-*)
  frv*-*-*)
        AC_CONFIG_SUBDIRS(frv)
        AC_CONFIG_SUBDIRS(frv)
        config_testsuite=true
        config_testsuite=true
        ;;
        ;;
  lm32*-*-*)
  lm32*-*-*)
        AC_CONFIG_SUBDIRS(lm32)
        AC_CONFIG_SUBDIRS(lm32)
        config_testsuite=true
        config_testsuite=true
        ;;
        ;;
  mcore-*-*)
  mcore-*-*)
        AC_CONFIG_SUBDIRS(mcore)
        AC_CONFIG_SUBDIRS(mcore)
        config_testsuite=true
        config_testsuite=true
        ;;
        ;;
  mep-*-*)
  mep-*-*)
        AC_CONFIG_SUBDIRS(mep)
        AC_CONFIG_SUBDIRS(mep)
        config_testsuite = true;
        config_testsuite = true;
        ;;
        ;;
  mt-*-*)
  mt-*-*)
        AC_CONFIG_SUBDIRS(mt)
        AC_CONFIG_SUBDIRS(mt)
        config_testsuite=true
        config_testsuite=true
        ;;
        ;;
  xstormy16-*-*)
  xstormy16-*-*)
        AC_CONFIG_SUBDIRS(xstormy16)
        AC_CONFIG_SUBDIRS(xstormy16)
        config_testsuite=true
        config_testsuite=true
        ;;
        ;;
  m32c-*-*)
  m32c-*-*)
        AC_CONFIG_SUBDIRS(m32c)
        AC_CONFIG_SUBDIRS(m32c)
        config_testsuite=true
        config_testsuite=true
        ;;
        ;;
  strongarm-*-elf | strongarm-*-coff | arm*-*-elf | arm*-*-coff | ep9312-*-elf | ep9312-*-coff | xscale-*-elf | xscale-*-coff | *arm-*-*)
  strongarm-*-elf | strongarm-*-coff | arm*-*-elf | arm*-*-coff | ep9312-*-elf | ep9312-*-coff | xscale-*-elf | xscale-*-coff | *arm-*-*)
        AC_CONFIG_SUBDIRS(arm)
        AC_CONFIG_SUBDIRS(arm)
        config_testsuite=true
        config_testsuite=true
        ;;
        ;;
  spu-*-elf)
  spu-*-elf)
        AC_CONFIG_SUBDIRS(spu)
        AC_CONFIG_SUBDIRS(spu)
        config_testsuite=false
        config_testsuite=false
        ;;
        ;;
  or32-*-*)
  or32-*-*)
        AC_CONFIG_SUBDIRS(or32)
        AC_CONFIG_SUBDIRS(or32)
        config_testsuite=false
        config_testsuite=false
        ;;
        ;;
  iq2000-*-*)
  iq2000-*-*)
        AC_CONFIG_SUBDIRS(iq2000)
        AC_CONFIG_SUBDIRS(iq2000)
        config_testsuite=true
        config_testsuite=true
        ;;
        ;;
esac
esac
# For now, don't bother configuring testsuite
# For now, don't bother configuring testsuite
#
#
# if test ${config_testsuite); then AC_CONFIG_SUBDIRS(testsuite); fi
# if test ${config_testsuite); then AC_CONFIG_SUBDIRS(testsuite); fi
#
#
LIB_AC_PROG_CC
LIB_AC_PROG_CC
AS=${AS-as}
AS=${AS-as}
AC_SUBST(AS)
AC_SUBST(AS)
AC_CHECK_PROG(AR, ar, ar, :)
AC_CHECK_PROG(AR, ar, ar, :)
AR=${AR-ar}
AR=${AR-ar}
AC_SUBST(AR)
AC_SUBST(AR)
LD=${LD-ld}
LD=${LD-ld}
AC_SUBST(LD)
AC_SUBST(LD)
AC_PROG_RANLIB
AC_PROG_RANLIB
LIB_AM_PROG_AS
LIB_AM_PROG_AS
host_makefile_frag=${srcdir}/config/default.mh
host_makefile_frag=${srcdir}/config/default.mh
dnl We have to assign the same value to other variables because autoconf
dnl We have to assign the same value to other variables because autoconf
dnl doesn't provide a mechanism to substitute a replacement keyword with
dnl doesn't provide a mechanism to substitute a replacement keyword with
dnl arbitrary data or pathnames.
dnl arbitrary data or pathnames.
dnl
dnl
host_makefile_frag_path=$host_makefile_frag
host_makefile_frag_path=$host_makefile_frag
AC_SUBST(host_makefile_frag_path)
AC_SUBST(host_makefile_frag_path)
AC_SUBST_FILE(host_makefile_frag)
AC_SUBST_FILE(host_makefile_frag)
if test "${multilib}" = "yes"; then
if test "${multilib}" = "yes"; then
  multilib_arg="--enable-multilib"
  multilib_arg="--enable-multilib"
else
else
  multilib_arg=
  multilib_arg=
fi
fi
# for now, only add multilibs for specific targets
# for now, only add multilibs for specific targets
AC_CONFIG_FILES([Makefile],
AC_CONFIG_FILES([Makefile],
[if test -n "$CONFIG_FILES"; then
[if test -n "$CONFIG_FILES"; then
  unset ac_file
  unset ac_file
  . ${libgloss_topdir}/config-ml.in
  . ${libgloss_topdir}/config-ml.in
fi],
fi],
srcdir=${srcdir}
srcdir=${srcdir}
target=${target}
target=${target}
with_multisubdir=${with_multisubdir}
with_multisubdir=${with_multisubdir}
ac_configure_args="--enable-multilib ${ac_configure_args}"
ac_configure_args="--enable-multilib ${ac_configure_args}"
CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
libgloss_topdir=${libgloss_topdir}
libgloss_topdir=${libgloss_topdir}
CC="${CC}"
CC="${CC}"
LDFLAGS=${LDFLAGS}
LDFLAGS=${LDFLAGS}
)
)
AC_OUTPUT
AC_OUTPUT
 
 

powered by: WebSVN 2.1.0

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