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