]> sourceware.org Git - newlib-cygwin.git/blame - libgloss/mn10300/configure.in
2006-05-10 Jeff Johnston <jjohnstn@redhat.com>
[newlib-cygwin.git] / libgloss / mn10300 / configure.in
CommitLineData
75241b15 1# Copyright (c) 1995, 1996, 2000 Cygnus Support
03261851
RK
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#
4e71dc1e 15AC_PREREQ(2.59)
03261851
RK
16AC_INIT(crt0.S)
17
18if test "${enable_shared}" = "yes" ; then
19 echo "Shared libraries not supported for cross compiling, ignored"
20fi
21
22if 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
28else
29 libgloss_topdir="${srcdir}/../.."
30fi
31AC_CONFIG_AUX_DIR($libgloss_topdir)
32
33AC_CANONICAL_SYSTEM
34AC_ARG_PROGRAM
35
36AC_PROG_INSTALL
37
03261851
RK
38LIB_AC_PROG_CC
39AS=${AS-as}
40AC_SUBST(AS)
41AR=${AR-ar}
42AC_SUBST(AR)
43LD=${LD-ld}
44AC_SUBST(LD)
45AC_PROG_RANLIB
4e71dc1e 46LIB_AM_PROG_AS
03261851
RK
47
48case "${target}" in
1e6a9a8c
AO
49 mn10300-*elf)
50 part_specific_obj=vr4300.o
51 script_list="eval sim asb2303 asb2305"
52 bsp_list="libeval.a libcygmon.a"
53 ;;
03261851
RK
54 *)
55 part_specific_obj=vr4300.o
75241b15
JJ
56 script_list="eval sim"
57 bsp_list="libeval.a"
03261851
RK
58 ;;
59esac
60
61host_makefile_frag=${srcdir}/../config/default.mh
62target_makefile_frag=${srcdir}/../config/mn10300.mt
63
64dnl We have to assign the same value to other variables because autoconf
65dnl doesn't provide a mechanism to substitute a replacement keyword with
66dnl arbitrary data or pathnames.
67dnl
68host_makefile_frag_path=$host_makefile_frag
69AC_SUBST(host_makefile_frag_path)
70AC_SUBST_FILE(host_makefile_frag)
71target_makefile_frag_path=$target_makefile_frag
72AC_SUBST(target_makefile_frag_path)
73AC_SUBST_FILE(target_makefile_frag)
74AC_SUBST(part_specific_obj)
75241b15
JJ
75AC_SUBST(script_list)
76AC_SUBST(bsp_list)
03261851 77
00a4b31a
JJ
78AC_CONFIG_FILES([Makefile],
79[if test -n "$CONFIG_FILES"; then
80 unset ac_file
81 . ${libgloss_topdir}/config-ml.in
82fi],
03261851
RK
83srcdir=${srcdir}
84target=${target}
00a4b31a 85with_multisubdir=${with_multisubdir}
03261851
RK
86ac_configure_args="${ac_configure_args} --enable-multilib"
87CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
88libgloss_topdir=${libgloss_topdir}
89)
4e71dc1e 90AC_OUTPUT
03261851
RK
91
92
This page took 0.115658 seconds and 5 git commands to generate.