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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-stable/] [newlib-1.18.0/] [libgloss/] [xc16x/] [configure.in] - Blame information for rev 829

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 207 jeremybenn
#
2
# Copyright (C) 2006 KPIT Cummins
3
# Copyright (C) 2009 Conny Marco Menebröcker
4
# All rights reserved.
5
#
6
# Redistribution and use in source and binary forms is permitted
7
# provided that the above copyright notice and following paragraph are
8
# duplicated in all such forms.
9
#
10
# This file is distributed WITHOUT ANY WARRANTY; without even the implied
11
# warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
12
#
13
#
14
# Process this file with autoconf to produce a configure script.
15
#
16
AC_PREREQ(2.59)
17
AC_INIT(crt0.S)
18
 
19
if test "${enable_shared}" = "yes" ; then
20
    echo "Shared libraries not supported for cross compiling, ignored"
21
fi
22
 
23
if test "$srcdir" = "." ; then
24
  if test "${with_target_subdir}" != "." ; then
25
    libgloss_topdir="${srcdir}/${with_multisrctop}../../.."
26
  else
27
    libgloss_topdir="${srcdir}/${with_multisrctop}../.."
28
  fi
29
else
30
  libgloss_topdir="${srcdir}/../.."
31
fi
32
AC_CONFIG_AUX_DIR($libgloss_topdir)
33
 
34
AC_CANONICAL_SYSTEM
35
AC_ARG_PROGRAM
36
 
37
AC_PROG_INSTALL
38
 
39
LIB_AC_PROG_CC
40
AS=${AS-as}
41
AC_SUBST(AS)
42
AR=${AR-ar}
43
AC_SUBST(AR)
44
LD=${LD-ld}
45
AC_SUBST(LD)
46
AC_PROG_RANLIB
47
LIB_AM_PROG_AS
48
 
49
 
50
host_makefile_frag=${srcdir}/../config/default.mh
51
 
52
dnl We have to assign the same value to other variables because autoconf
53
dnl doesn't provide a mechanism to substitute a replacement keyword with
54
dnl arbitrary data or pathnames.
55
dnl
56
host_makefile_frag_path=$host_makefile_frag
57
AC_SUBST(host_makefile_frag_path)
58
AC_SUBST_FILE(host_makefile_frag)
59
AC_SUBST(part_specific_obj)
60
AC_SUBST(script_list)
61
AC_SUBST(bsp_list)
62
 
63
AC_CONFIG_FILES([Makefile],
64
[if test -n "$CONFIG_FILES"; then
65
  unset ac_file
66
  . ${libgloss_topdir}/config-ml.in
67
fi],
68
srcdir=${srcdir}
69
target=${target}
70
with_multisubdir=${with_multisubdir}
71
ac_configure_args="${ac_configure_args} --enable-multilib"
72
CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
73
libgloss_topdir=${libgloss_topdir}
74
)
75
AC_OUTPUT
76
 
77
 

powered by: WebSVN 2.1.0

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