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

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [newlib-1.18.0/] [libgloss/] [mcore/] [configure.in] - Blame information for rev 207

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 207 jeremybenn
dnl Process this file with autoconf to produce a configure script.
2
AC_PREREQ(2.59)
3
AC_INIT(crt0.S)
4
 
5
if test "${enable_shared}" = "yes" ; then
6
    echo "Shared libraries not supported for cross compiling, ignored"
7
fi
8
 
9
if test "$srcdir" = "." ; then
10
  if test "${with_target_subdir}" != "." ; then
11
    libgloss_topdir="${srcdir}/${with_multisrctop}../../.."
12
  else
13
    libgloss_topdir="${srcdir}/${with_multisrctop}../.."
14
  fi
15
else
16
  libgloss_topdir="${srcdir}/../.."
17
fi
18
AC_CONFIG_AUX_DIR($libgloss_topdir)
19
 
20
AC_CANONICAL_SYSTEM
21
AC_ARG_PROGRAM
22
 
23
AC_PROG_INSTALL
24
 
25
LIB_AC_PROG_CC
26
AS=${AS-as}
27
AC_SUBST(AS)
28
AR=${AR-ar}
29
AC_SUBST(AR)
30
LD=${LD-ld}
31
AC_SUBST(LD)
32
AC_PROG_RANLIB
33
LIB_AM_PROG_AS
34
 
35
case "${target}" in
36
  mcore-*-elf)
37
        bsp_prefix=elf-
38
        ;;
39
  mcore-*-pe)
40
        bsp_prefix=pe-
41
        ;;
42
esac
43
 
44
AC_SUBST(bsp_prefix)
45
 
46
host_makefile_frag=${srcdir}/../config/default.mh
47
 
48
dnl We have to assign the same value to other variables because autoconf
49
dnl doesn't provide a mechanism to substitute a replacement keyword with
50
dnl arbitrary data or pathnames.
51
dnl
52
host_makefile_frag_path=$host_makefile_frag
53
AC_SUBST(host_makefile_frag_path)
54
AC_SUBST_FILE(host_makefile_frag)
55
 
56
AC_CONFIG_FILES(Makefile,
57
. ${libgloss_topdir}/config-ml.in,
58
srcdir=${srcdir}
59
target=${target}
60
with_multisubdir=${with_multisubdir}
61
ac_configure_args="${ac_configure_args} --enable-multilib"
62
CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
63
libgloss_topdir=${libgloss_topdir}
64
)
65
AC_OUTPUT

powered by: WebSVN 2.1.0

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