source: rtems/aclocal/ar-s.m4 @ 692b9f7

4.104.114.84.9
Last change on this file since 692b9f7 was b931d05a, checked in by Joel Sherrill <joel.sherrill@…>, on Sep 30, 1998 at 7:51:39 PM

Added Id's.

  • Property mode set to 100644
File size: 458 bytes
Line 
1dnl
2dnl $Id$
3dnl
4
5AC_DEFUN(RTEMS_AR_FOR_TARGET_S,
6[
7AC_CACHE_CHECK(whether $AR_FOR_TARGET -s works,
8rtems_cv_AR_FOR_TARGET_S,
9[
10cat > conftest.$ac_ext <<EOF
11int foo( int b )
12{ return b; }
13EOF
14if 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 ; \
17then
18  rtems_cv_AR_FOR_TARGET_S="yes"
19else
20  rtems_cv_AR_FOR_TARGET_S="no"
21fi
22  rm -f conftest*
23])
24])
25
Note: See TracBrowser for help on using the repository browser.