source: rtems/aclocal/gcc-specs.m4 @ 51c195d5

4.104.114.84.9
Last change on this file since 51c195d5 was 51c195d5, checked in by Joel Sherrill <joel.sherrill@…>, on Feb 19, 1998 at 4:23:56 PM

New files missed in previous merge.

  • Property mode set to 100644
File size: 465 bytes
Line 
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.