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

Subversion Repositories or1k

[/] [or1k/] [branches/] [newlib/] [newlib/] [libgloss/] [m68k/] [configure.in] - Blame information for rev 1777

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 39 lampret
# Copyright (c) 1995, 1996 Cygnus Support
2
#
3
# The authors hereby grant permission to use, copy, modify, distribute,
4
# and license this software and its documentation for any purpose, provided
5
# that existing copyright notices are retained in all copies and that this
6
# notice is included verbatim in any distributions. No written agreement,
7
# license, or royalty fee is required for any of the authorized uses.
8
# Modifications to this software may be copyrighted by their authors
9
# and need not follow the licensing terms described here, provided that
10
# the new terms are clearly indicated on the first page of each file where
11
# they apply.
12
#
13
# process this file with autoconf to produce a configure script.
14
AC_PREREQ(2.5)dnl
15
AC_INIT(crt0.S)
16
 
17
if test "${enable_shared}" = "yes" ; then
18
    echo "Shared libraries not supported for cross compiling, ignored"
19
fi
20
 
21
if test "$srcdir" = "." ; then
22
  if test "${with_target_subdir}" != "." ; then
23
    libgloss_topdir="${with_multisrctop}../../.."
24
  else
25
    libgloss_topdir="${with_multisrctop}../.."
26
  fi
27
else
28
  libgloss_topdir="${srcdir}/../.."
29
fi
30
 
31
AC_CONFIG_AUX_DIR($libgloss_topdir)
32
AC_CANONICAL_SYSTEM
33
AC_ARG_PROGRAM
34
 
35
AC_PROG_INSTALL
36
 
37
AC_PROG_CC
38
AS=${AS-as}
39
AC_SUBST(AS)
40
AR=${AR-ar}
41
AC_SUBST(AR)
42
LD=${LD-ld}
43
AC_SUBST(LD)
44
AC_PROG_RANLIB
45
 
46
host_makefile_frag=${srcdir}/../config/default.mh
47
target_makefile_frag=${srcdir}/../config/default.mt
48
 
49
dnl We have to assign the same value to other variables because autoconf
50
dnl doesn't provide a mechanism to substitute a replacement keyword with
51
dnl arbitrary data or pathnames.
52
dnl
53
host_makefile_frag_path=$host_makefile_frag
54
AC_SUBST(host_makefile_frag_path)
55
AC_SUBST_FILE(host_makefile_frag)
56
target_makefile_frag_path=$target_makefile_frag
57
AC_SUBST(target_makefile_frag_path)
58
AC_SUBST_FILE(target_makefile_frag)
59
 
60
AC_OUTPUT(Makefile,
61
. ${libgloss_topdir}/config-ml.in,
62
srcdir=${srcdir}
63
target=${target}
64
ac_configure_args="${ac_configure_args} --enable-multilib"
65
CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
66
libgloss_topdir=${libgloss_topdir}
67
)
68
 

powered by: WebSVN 2.1.0

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