Last change
on this file since 509 was
444,
checked in by satin@…, 7 years ago
|
add newlib,libalmos-mkh, restructure shared_syscalls.h and mini-libc
|
File size:
811 bytes
|
Rev | Line | |
---|
[444] | 1 | dnl Process this file with autoconf to produce a configure script. |
---|
| 2 | AC_PREREQ(2.59) |
---|
| 3 | AC_INIT(crt0.s) |
---|
| 4 | |
---|
| 5 | if test "$srcdir" = "." ; then |
---|
| 6 | mdir=`echo "${with_multisubdir}/" \ |
---|
| 7 | | sed -e 's,\([[^/]][[^/]]*\),..,g' -e 's,^/$,,'` |
---|
| 8 | AC_CONFIG_AUX_DIR(${mdir}../../..) |
---|
| 9 | else |
---|
| 10 | AC_CONFIG_AUX_DIR(${srcdir}/../..) |
---|
| 11 | fi |
---|
| 12 | |
---|
| 13 | AC_PROG_INSTALL |
---|
| 14 | |
---|
| 15 | LIB_AC_PROG_CC |
---|
| 16 | AS=${AS-as} |
---|
| 17 | AC_SUBST(AS) |
---|
| 18 | AR=${AR-ar} |
---|
| 19 | AC_SUBST(AR) |
---|
| 20 | LD=${LD-ld} |
---|
| 21 | AC_SUBST(LD) |
---|
| 22 | AC_PROG_RANLIB |
---|
| 23 | LIB_AM_PROG_AS |
---|
| 24 | |
---|
| 25 | host_makefile_frag=${srcdir}/../config/default.mh |
---|
| 26 | |
---|
| 27 | dnl We have to assign the same value to other variables because autoconf |
---|
| 28 | dnl doesn't provide a mechanism to substitute a replacement keyword with |
---|
| 29 | dnl arbitrary data or pathnames. |
---|
| 30 | dnl |
---|
| 31 | host_makefile_frag_path=$host_makefile_frag |
---|
| 32 | AC_SUBST(host_makefile_frag_path) |
---|
| 33 | AC_SUBST_FILE(host_makefile_frag) |
---|
| 34 | |
---|
| 35 | AC_OUTPUT(Makefile) |
---|
Note: See
TracBrowser
for help on using the repository browser.