Last change
on this file since 444 was
444,
checked in by satin@…, 6 years ago
|
add newlib,libalmos-mkh, restructure shared_syscalls.h and mini-libc
|
File size:
889 bytes
|
Line | |
---|
1 | dnl This is the newlib/libc/machine/spu configure.in file. |
---|
2 | dnl Process this file with autoconf to produce a configure script. |
---|
3 | |
---|
4 | AC_PREREQ(2.59) |
---|
5 | AC_INIT([newlib],[NEWLIB_VERSION]) |
---|
6 | AC_CONFIG_SRCDIR([Makefile.am]) |
---|
7 | |
---|
8 | dnl Can't be done in NEWLIB_CONFIGURE because that confuses automake. |
---|
9 | AC_CONFIG_AUX_DIR(../../../..) |
---|
10 | |
---|
11 | NEWLIB_CONFIGURE(../../..) |
---|
12 | |
---|
13 | AC_MSG_CHECKING([whether the compiler supports __ea]) |
---|
14 | dnl We do not use AC_COMPILE_IFELSE to support building newlib with |
---|
15 | dnl a cross-compiler that is not (yet) able to link executables |
---|
16 | cat > conftest.c <<EOF |
---|
17 | #if defined (__EA32__) || defined (__EA64__) |
---|
18 | yes; |
---|
19 | #endif |
---|
20 | EOF |
---|
21 | if AC_TRY_COMMAND(${CC-cc} -E conftest.c) | egrep yes >/dev/null 2>&1; then |
---|
22 | spu_compiler_has_ea=yes |
---|
23 | else |
---|
24 | spu_compiler_has_ea=no |
---|
25 | fi |
---|
26 | AM_CONDITIONAL(HAVE_SPU_EA, test x${spu_compiler_has_ea} != xno) |
---|
27 | AC_MSG_RESULT($spu_compiler_has_ea) |
---|
28 | |
---|
29 | AC_CONFIG_FILES([Makefile]) |
---|
30 | AC_OUTPUT |
---|
Note: See
TracBrowser
for help on using the repository browser.