source: trunk/libs/newlib/src/libgloss/microblaze/configure.in @ 478

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

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

File size: 1.5 KB
RevLine 
[444]1dnl Process this file with autoconf to produce a configure script.
2AC_PREREQ(2.59)
3AC_INIT(crt0.S)
4
5if test "${enable_shared}" = "yes" ; then
6    echo "Shared libraries not supported for cross compiling, ignored"
7fi
8
9if test "$srcdir" = "." ; then
10  if test "${with_target_subdir}" != "." ; then
11    libgloss_topdir="${srcdir}/${with_multisrctop}../../.."
12  else
13    libgloss_topdir="${srcdir}/${with_multisrctop}../.."
14  fi
15else
16  libgloss_topdir="${srcdir}/../.."
17fi
18AC_CONFIG_AUX_DIR($libgloss_topdir)
19
20AC_CANONICAL_SYSTEM
21AC_ARG_PROGRAM
22
23AC_PROG_INSTALL
24
25LIB_AC_PROG_CC
26AS=${AS-as}
27AC_SUBST(AS)
28AR=${AR-ar}
29AC_SUBST(AR)
30LD=${LD-ld}
31AC_SUBST(LD)
32AC_PROG_RANLIB
33LIB_AM_PROG_AS
34
35AC_SUBST(bsp_prefix)
36
37host_makefile_frag=${srcdir}/../config/default.mh
38target_makefile_frag=${srcdir}/../config/default.mt
39
40dnl We have to assign the same value to other variables because autoconf
41dnl doesn't provide a mechanism to substitute a replacement keyword with
42dnl arbitrary data or pathnames.
43dnl
44host_makefile_frag_path=$host_makefile_frag
45AC_SUBST(host_makefile_frag_path)
46AC_SUBST_FILE(host_makefile_frag)
47target_makefile_frag_path=$target_makefile_frag
48AC_SUBST(target_makefile_frag_path)
49AC_SUBST_FILE(target_makefile_frag)
50
51AC_CONFIG_FILES(Makefile,
52. ${libgloss_topdir}/config-ml.in,
53srcdir=${srcdir}
54target=${target}
55with_multisubdir=${with_multisubdir}
56ac_configure_args="${ac_configure_args} --enable-multilib"
57CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
58libgloss_topdir=${libgloss_topdir}
59)
60AC_OUTPUT
Note: See TracBrowser for help on using the repository browser.