OpenCores
URL https://opencores.org/ocsvn/or1k/or1k/trunk

Subversion Repositories or1k

[/] [or1k/] [trunk/] [rtems-20020807/] [cpukit/] [aclocal/] [gcc-pipe.m4] - Blame information for rev 1772

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 1026 ivang
dnl
2
dnl gcc-pipe.m4,v 1.1 2002/06/17 08:52:47 ralf Exp
3
dnl
4
dnl Check whether the target compiler accepts -pipe
5
dnl
6
 
7
AC_DEFUN(RTEMS_GCC_PIPE,
8
[AC_REQUIRE([RTEMS_PROG_CC])
9
AC_REQUIRE([AC_CANONICAL_HOST])
10
AC_CACHE_CHECK(whether $CC accepts --pipe,rtems_cv_gcc_pipe,
11
[
12
rtems_cv_gcc_pipe=no
13
if 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*
19
fi
20
])
21
])

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.