source: rtems/cpukit/aclocal/gcc-pipe.m4 @ f26145b

4.104.114.84.95
Last change on this file since f26145b was 863fb4f, checked in by Ralf Corsepius <ralf.corsepius@…>, on 11/26/03 at 06:56:28

2003-11-26 Ralf Corsepius <corsepiu@…>

  • aclocal/canonicalize-tools.m4, aclocal/check-itron.m4, aclocal/check-multiprocessing.m4, aclocal/check-newlib.m4, aclocal/check-posix.m4, aclocal/check-rtems-debug.m4, aclocal/check-tool.m4, aclocal/enable-bare.m4, aclocal/enable-inlines.m4, aclocal/enable-itron.m4, aclocal/enable-multiprocessing.m4, aclocal/enable-networking.m4, aclocal/enable-posix.m4, aclocal/enable-rtems-debug.m4, aclocal/env-rtemscpu.m4, aclocal/gcc-isystem.m4, aclocal/gcc-pipe.m4, aclocal/multi.m4, aclocal/multilib.m4, aclocal/prog-cc.m4, aclocal/rtems-top.m4, aclocal/sysv-ipc.m4: Fix underquoting to silence automake-1.8.
  • Property mode set to 100644
File size: 432 bytes
Line 
1dnl
2dnl $Id$
3dnl
4dnl Check whether the target compiler accepts -pipe
5dnl
6
7AC_DEFUN([RTEMS_GCC_PIPE],
8[AC_REQUIRE([RTEMS_PROG_CC])
9AC_REQUIRE([AC_CANONICAL_HOST])
10AC_CACHE_CHECK(whether $CC accepts --pipe,rtems_cv_gcc_pipe,
11[
12rtems_cv_gcc_pipe=no
13if test x"$GCC" = x"yes"; then
14    echo 'void f(){}' >conftest.c
15    if test -z "`${CC} --pipe -c conftest.c 2>&1`";then
16      rtems_cv_gcc_pipe=yes
17    fi
18    rm -f conftest*
19fi
20])
21])
Note: See TracBrowser for help on using the repository browser.