Last change
on this file since 597 was
444,
checked in by satin@…, 6 years ago
|
add newlib,libalmos-mkh, restructure shared_syscalls.h and mini-libc
|
File size:
1.2 KB
|
Line | |
---|
1 | dnl Process this file with autoconf to produce a configure script. |
---|
2 | AC_PREREQ(2.59) |
---|
3 | AC_INIT(Makefile.in) |
---|
4 | |
---|
5 | if test "$srcdir" = "." ; then |
---|
6 | if test "${with_target_subdir}" != "." ; then |
---|
7 | libgloss_topdir="${srcdir}/${with_multisrctop}../../.." |
---|
8 | else |
---|
9 | libgloss_topdir="${srcdir}/${with_multisrctop}../.." |
---|
10 | fi |
---|
11 | else |
---|
12 | libgloss_topdir="${srcdir}/../../.." |
---|
13 | fi |
---|
14 | AC_CONFIG_AUX_DIR($libgloss_topdir) |
---|
15 | |
---|
16 | AC_CANONICAL_SYSTEM |
---|
17 | AC_ARG_PROGRAM |
---|
18 | |
---|
19 | AC_PROG_INSTALL |
---|
20 | |
---|
21 | LIB_AC_PROG_CC |
---|
22 | AS=${AS-as} |
---|
23 | AC_SUBST(AS) |
---|
24 | AR=${AR-ar} |
---|
25 | AC_SUBST(AR) |
---|
26 | LD=${LD-ld} |
---|
27 | AC_SUBST(LD) |
---|
28 | AC_PROG_RANLIB |
---|
29 | LIB_AM_PROG_AS |
---|
30 | |
---|
31 | host_makefile_frag=${srcdir}/../../config/default.mh |
---|
32 | |
---|
33 | dnl We have to assign the same value to other variables because autoconf |
---|
34 | dnl doesn't provide a mechanism to substitute a replacement keyword with |
---|
35 | dnl arbitrary data or pathnames. |
---|
36 | dnl |
---|
37 | host_makefile_frag_path=$host_makefile_frag |
---|
38 | AC_SUBST(host_makefile_frag_path) |
---|
39 | AC_SUBST_FILE(host_makefile_frag) |
---|
40 | |
---|
41 | AC_CONFIG_FILES(Makefile, |
---|
42 | . ${libgloss_topdir}/config-ml.in, |
---|
43 | srcdir=${srcdir} |
---|
44 | target=${target} |
---|
45 | with_multisubdir=${with_multisubdir} |
---|
46 | ac_configure_args="${ac_configure_args} --enable-multilib" |
---|
47 | CONFIG_SHELL=${CONFIG_SHELL-/bin/sh} |
---|
48 | libgloss_topdir=${libgloss_topdir} |
---|
49 | ) |
---|
50 | AC_OUTPUT |
---|
Note: See
TracBrowser
for help on using the repository browser.