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