source: trunk/libs/newlib/src/libgloss/msp430/configure.in @ 487

Last change on this file since 487 was 444, checked in by satin@…, 7 years ago

add newlib,libalmos-mkh, restructure shared_syscalls.h and mini-libc

File size: 2.0 KB
RevLine 
[444]1# Copyright (c) 2008, 2009, 2011, 2013 Red Hat, Inc. All rights reserved.
2#
3# This copyrighted material is made available to anyone wishing to use, modify,
4# copy, or redistribute it subject to the terms and conditions of the BSD
5# License.   This program is distributed in the hope that it will be useful,
6# but WITHOUT ANY WARRANTY expressed or implied, including the implied warranties
7# of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  A copy of this license
8# is available at http://www.opensource.org/licenses. Any Red Hat trademarks that
9# are incorporated in the source code or documentation are not subject to the BSD
10# License and may only be used or replicated with the express permission of
11# Red Hat, Inc.
12
13dnl Process this file with autoconf to produce a configure script.
14AC_PREREQ(2.59)
15AC_INIT(crt0.S)
16
17if test "${enable_shared}" = "yes" ; then
18    echo "Shared libraries not supported for cross compiling, ignored"
19fi
20
21if test "$srcdir" = "." ; then
22  if test "${with_target_subdir}" != "." ; then
23    libgloss_topdir="${srcdir}/${with_multisrctop}../../.."
24  else
25    libgloss_topdir="${srcdir}/${with_multisrctop}../.."
26  fi
27else
28  libgloss_topdir="${srcdir}/../.."
29fi
30AC_CONFIG_AUX_DIR($libgloss_topdir)
31
32AC_CANONICAL_SYSTEM
33AC_ARG_PROGRAM
34
35AC_PROG_INSTALL
36
37LIB_AC_PROG_CC
38
39AS=${AS-as}
40AC_SUBST(AS)
41AR=${AR-ar}
42AC_SUBST(AR)
43LD=${LD-ld}
44AC_SUBST(LD)
45AC_PROG_RANLIB
46LIB_AM_PROG_AS
47
48host_makefile_frag=${srcdir}/../config/default.mh
49
50dnl We have to assign the same value to other variables because autoconf
51dnl doesn't provide a mechanism to substitute a replacement keyword with
52dnl arbitrary data or pathnames.
53dnl
54host_makefile_frag_path=$host_makefile_frag
55AC_SUBST(host_makefile_frag_path)
56AC_SUBST_FILE(host_makefile_frag)
57
58AC_CONFIG_FILES(Makefile,
59. ${libgloss_topdir}/config-ml.in,
60srcdir=${srcdir}
61target=${target}
62with_multisubdir=${with_multisubdir}
63ac_configure_args="${ac_configure_args} --enable-multilib"
64CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
65libgloss_topdir=${libgloss_topdir}
66)
67AC_OUTPUT
Note: See TracBrowser for help on using the repository browser.