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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [rtos/] [rtems/] [aclocal/] [ar-s.m4] - Blame information for rev 747

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

Line No. Rev Author Line
1 30 unneback
dnl
2
dnl $Id: ar-s.m4,v 1.2 2001-09-27 11:59:11 chris Exp $
3
dnl
4
 
5
AC_DEFUN(RTEMS_AR_FOR_TARGET_S,
6
[
7
AC_CACHE_CHECK(whether $AR_FOR_TARGET -s works,
8
rtems_cv_AR_FOR_TARGET_S,
9
[
10
cat > conftest.$ac_ext <<EOF
11
int foo( int b )
12
{ return b; }
13
EOF
14
if AC_TRY_COMMAND($CC_FOR_TARGET -o conftest.o -c conftest.$ac_ext) \
15
  && AC_TRY_COMMAND($AR_FOR_TARGET -sr conftest.a conftest.o) \
16
  && test -s conftest.a ; \
17
then
18
  rtems_cv_AR_FOR_TARGET_S="yes"
19
else
20
  rtems_cv_AR_FOR_TARGET_S="no"
21
fi
22
  rm -f conftest*
23
])
24
])
25
 

powered by: WebSVN 2.1.0

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