source: trunk/libs/newlib/src/libgloss/m32r/configure.in @ 514

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

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

File size: 1.1 KB
RevLine 
[444]1dnl Process this file with autoconf to produce a configure script.
2AC_PREREQ(2.59)
3AC_INIT(crt0.S)
4
5AC_CANONICAL_SYSTEM
6AC_ARG_PROGRAM
7
8if test "$srcdir" = "." ; then
9  mdir=`echo "${with_multisubdir}/" \
10    | sed -e 's,\([[^/]][[^/]]*\),..,g' -e 's,^/$,,'`
11  AC_CONFIG_AUX_DIR(${mdir}../../..)
12else
13  AC_CONFIG_AUX_DIR(${srcdir}/../..)
14fi
15
16AC_PROG_INSTALL
17
18LIB_AC_PROG_CC
19AS=${AS-as}
20AC_SUBST(AS)
21AR=${AR-ar}
22AC_SUBST(AR)
23LD=${LD-ld}
24AC_SUBST(LD)
25AC_PROG_RANLIB
26LIB_AM_PROG_AS
27
28host_makefile_frag=${srcdir}/../config/default.mh
29
30dnl We have to assign the same value to other variables because autoconf
31dnl doesn't provide a mechanism to substitute a replacement keyword with
32dnl arbitrary data or pathnames.
33dnl
34host_makefile_frag_path=$host_makefile_frag
35AC_SUBST(host_makefile_frag_path)
36AC_SUBST_FILE(host_makefile_frag)
37
38AC_CONFIG_FILES(Makefile,
39. ${srcdir}/../../config-ml.in,
40srcdir=${srcdir}
41target=${target}
42with_multisubdir=${with_multisubdir}
43ac_configure_args="${ac_configure_args} --enable-multilib"
44CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
45libgloss_topdir=${srcdir}/../..
46)
47AC_OUTPUT
Note: See TracBrowser for help on using the repository browser.