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

Subversion Repositories or1k

[/] [or1k/] [trunk/] [newlib/] [libgloss/] [pa/] [configure.in] - Blame information for rev 1775

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
 */
15
AC_PREREQ(2.5)dnl
16
AC_INIT(crt0.S)
17
 
18
if test "${enable_shared}" = "yes" ; then
19
    echo "Shared libraries not supported for cross compiling, ignored"
20
fi
21
 
22
if test "$srcdir" = "." ; then
23
  if test "${with_target_subdir}" != "." ; then
24
    libgloss_topdir="${srcdir}/${with_multisrctop}../../.."
25
  else
26
    libgloss_topdir="${srcdir}/${with_multisrctop}../.."
27
  fi
28
else
29
  libgloss_topdir="${srcdir}/../.."
30
fi
31
AC_CONFIG_AUX_DIR($libgloss_topdir)
32
 
33
AC_CANONICAL_SYSTEM
34
AC_ARG_PROGRAM
35
 
36
AC_PROG_INSTALL
37
 
38
AC_PROG_CC
39
AS=${AS-as}
40
AC_SUBST(AS)
41
AR=${AR-ar}
42
AC_SUBST(AR)
43
LD=${LD-ld}
44
AC_SUBST(LD)
45
AC_PROG_RANLIB
46
 
47
host_makefile_frag=${srcdir}/../config/default.mh
48
target_makefile_frag=${srcdir}/../config/default.mt
49
 
50
dnl We have to assign the same value to other variables because autoconf
51
dnl doesn't provide a mechanism to substitute a replacement keyword with
52
dnl arbitrary data or pathnames.
53
dnl
54
host_makefile_frag_path=$host_makefile_frag
55
AC_SUBST(host_makefile_frag_path)
56
AC_SUBST_FILE(host_makefile_frag)
57
target_makefile_frag_path=$target_makefile_frag
58
AC_SUBST(target_makefile_frag_path)
59
AC_SUBST_FILE(target_makefile_frag)
60
 
61
AC_OUTPUT(Makefile,
62
. ${libgloss_topdir}/config-ml.in,
63
srcdir=${srcdir}
64
target=${target}
65
ac_configure_args="${ac_configure_args} --enable-multilib"
66
CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
67
libgloss_topdir=${libgloss_topdir}
68
)

powered by: WebSVN 2.1.0

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