Welcome to mirror list, hosted at ThFree Co, Russian Federation.

configure.in « spu « machine « libc « newlib - cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: a287ff59b13ce72cdb2e5e255eb7dfb90eb87dc7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
dnl This is the newlib/libc/machine/spu configure.in file.
dnl Process this file with autoconf to produce a configure script.

AC_PREREQ(2.59)
AC_INIT([newlib],[NEWLIB_VERSION])
AC_CONFIG_SRCDIR([Makefile.am])

dnl Can't be done in NEWLIB_CONFIGURE because that confuses automake. 
AC_CONFIG_AUX_DIR(../../../..)

NEWLIB_CONFIGURE(../../..)

AC_MSG_CHECKING([whether the compiler supports __ea])
dnl We do not use AC_COMPILE_IFELSE to support building newlib with
dnl a cross-compiler that is not (yet) able to link executables
cat > conftest.c <<EOF
#if defined (__EA32__) || defined (__EA64__)
  yes;
#endif
EOF
if AC_TRY_COMMAND(${CC-cc} -E conftest.c) | egrep yes >/dev/null 2>&1; then
  spu_compiler_has_ea=yes
else
  spu_compiler_has_ea=no
fi
AM_CONDITIONAL(HAVE_SPU_EA, test x${spu_compiler_has_ea} != xno)
AC_MSG_RESULT($spu_compiler_has_ea)

AC_CONFIG_FILES([Makefile])
AC_OUTPUT