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