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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [newlib-1.17.0/] [libgloss/] [mcore/] [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(crt0.S)
AC_INIT(crt0.S)
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_CANONICAL_SYSTEM
AC_CANONICAL_SYSTEM
AC_ARG_PROGRAM
AC_ARG_PROGRAM
AC_PROG_INSTALL
AC_PROG_INSTALL
LIB_AC_PROG_CC
LIB_AC_PROG_CC
AS=${AS-as}
AS=${AS-as}
AC_SUBST(AS)
AC_SUBST(AS)
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
case "${target}" in
case "${target}" in
  mcore-*-elf)
  mcore-*-elf)
        bsp_prefix=elf-
        bsp_prefix=elf-
        ;;
        ;;
  mcore-*-pe)
  mcore-*-pe)
        bsp_prefix=pe-
        bsp_prefix=pe-
        ;;
        ;;
esac
esac
AC_SUBST(bsp_prefix)
AC_SUBST(bsp_prefix)
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)
AC_CONFIG_FILES(Makefile,
AC_CONFIG_FILES(Makefile,
. ${libgloss_topdir}/config-ml.in,
. ${libgloss_topdir}/config-ml.in,
srcdir=${srcdir}
srcdir=${srcdir}
target=${target}
target=${target}
with_multisubdir=${with_multisubdir}
with_multisubdir=${with_multisubdir}
ac_configure_args="${ac_configure_args} --enable-multilib"
ac_configure_args="${ac_configure_args} --enable-multilib"
CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
libgloss_topdir=${libgloss_topdir}
libgloss_topdir=${libgloss_topdir}
)
)
AC_OUTPUT
AC_OUTPUT
 
 

powered by: WebSVN 2.1.0

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