source: rtems/aclocal/gcc-specs.m4 @ 2617b345

4.104.114.84.95
Last change on this file since 2617b345 was 51c195d5, checked in by Joel Sherrill <joel.sherrill@…>, on 02/19/98 at 16:23:56

New files missed in previous merge.

  • Property mode set to 100644
File size: 465 bytes
RevLine 
[51c195d5]1dnl
2dnl $Id$
3dnl
4dnl Check whether the target compiler accepts -specs
5dnl
6dnl 98/02/11 Ralf Corsepius     corsepiu@faw.uni-ulm.de
7dnl
8
9AC_DEFUN(RTEMS_GCC_SPECS,
10[AC_REQUIRE([RTEMS_PROG_CC])
11AC_CACHE_CHECK(whether $CC_FOR_TARGET accepts -specs,rtems_cv_gcc_specs,
12[touch confspec
13echo 'void f(){}' >conftest.c
14if test -z "`${CC_FOR_TARGET} -specs confspec -c conftest.c 2>&1`";then
15  rtems_cv_gcc_specs=yes
16else
17  rtems_cv_gcc_specs=no
18fi
19rm -f confspec conftest*
20])])
Note: See TracBrowser for help on using the repository browser.