source: trunk/libs/newlib/src/libgloss/mep/configure.in @ 547

Last change on this file since 547 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]1dnl Copyright (c) 2000-2007  Red Hat, Inc. All rights reserved.
2dnl
3dnl This copyrighted material is made available to anyone wishing to use,
4dnl modify, copy, or redistribute it subject to the terms and conditions of
5dnl the BSD License.  This program is distributed in the hope that
6dnl it will be useful, but WITHOUT ANY WARRANTY expressed or implied,
7dnl including the implied warranties of MERCHANTABILITY or FITNESS FOR A
8dnl PARTICULAR PURPOSE.  A copy of this license is available at
9dnl http://www.opensource.org/licenses. Any Red Hat trademarks that are
10dnl incorporated in the source code or documentation are not subject to the
11dnl BSD License and may only be used or replicated with the express permission
12dnl of Red Hat, Inc.
13
14dnl Process this file with autoconf to produce a configure script.
15AC_PREREQ(2.59)
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
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
46
47host_makefile_frag=${srcdir}/../config/default.mh
48
49dnl We have to assign the same value to other variables because autoconf
50dnl doesn't provide a mechanism to substitute a replacement keyword with
51dnl arbitrary data or pathnames.
52dnl
53host_makefile_frag_path=$host_makefile_frag
54AC_SUBST(host_makefile_frag_path)
55AC_SUBST_FILE(host_makefile_frag)
56
57AC_CONFIG_FILES([Makefile],
58. ${libgloss_topdir}/config-ml.in,
59srcdir=${srcdir}
60target=${target}
61with_multisubdir=${with_multisubdir}
62ac_configure_args="${ac_configure_args} --enable-multilib"
63CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
64libgloss_topdir=${libgloss_topdir}
65)
66AC_OUTPUT
Note: See TracBrowser for help on using the repository browser.