OpenCores
URL https://opencores.org/ocsvn/openrisc_me/openrisc_me/trunk

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [newlib-1.17.0/] [newlib/] [libc/] [machine/] [spu/] [configure.in] - Blame information for rev 407

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 148 jeremybenn
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 <
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

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.