Last change
on this file since 474 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
|
Rev | Line | |
---|
[444] | 1 | dnl Process this file with autoconf to produce a configure script. |
---|
| 2 | AC_PREREQ(2.59)dnl |
---|
| 3 | AC_INIT(crt0.S) |
---|
| 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 | |
---|
| 23 | AS=${AS-as} |
---|
| 24 | AC_SUBST(AS) |
---|
| 25 | AR=${AR-ar} |
---|
| 26 | AC_SUBST(AR) |
---|
| 27 | LD=${LD-ld} |
---|
| 28 | AC_SUBST(LD) |
---|
| 29 | AC_PROG_RANLIB |
---|
| 30 | LIB_AM_PROG_AS |
---|
| 31 | |
---|
| 32 | host_makefile_frag=${srcdir}/../config/ppc.mh |
---|
| 33 | |
---|
| 34 | dnl We have to assign the same value to other variables because autoconf |
---|
| 35 | dnl doesn't provide a mechanism to substitute a replacement keyword with |
---|
| 36 | dnl arbitrary data or pathnames. |
---|
| 37 | dnl |
---|
| 38 | host_makefile_frag_path=$host_makefile_frag |
---|
| 39 | AC_SUBST(host_makefile_frag_path) |
---|
| 40 | AC_SUBST_FILE(host_makefile_frag) |
---|
| 41 | |
---|
| 42 | AC_CONFIG_FILES(Makefile, |
---|
| 43 | . ${libgloss_topdir}/config-ml.in, |
---|
| 44 | srcdir=${srcdir} |
---|
| 45 | target=${target} |
---|
| 46 | with_multisubdir=${with_multisubdir} |
---|
| 47 | ac_configure_args="${ac_configure_args} --enable-multilib" |
---|
| 48 | CONFIG_SHELL=${CONFIG_SHELL-/bin/sh} |
---|
| 49 | libgloss_topdir=${libgloss_topdir} |
---|
| 50 | ) |
---|
| 51 | AC_OUTPUT |
---|
Note: See
TracBrowser
for help on using the repository browser.