source: rtems/aclocal/gcc-pipe.m4 @ 78ffe89

4.104.114.84.95
Last change on this file since 78ffe89 was 78ffe89, checked in by Joel Sherrill <joel.sherrill@…>, on 10/11/99 at 15:50:20

Patch from Ralf Corsepius <corsepiu@…>

Removed all go32 configuration tests.

This patch also comments out some special treatment for Cygwin from
*.m4 macros. According to reports from David Fiddes. these should
not be necessary anymore.

  • Property mode set to 100644
File size: 539 bytes
RevLine 
[51c195d5]1dnl
2dnl $Id$
3dnl
4dnl Check whether the target compiler accepts -pipe
5dnl
6
7AC_DEFUN(RTEMS_GCC_PIPE,
[a7a08713]8[AC_REQUIRE([RTEMS_PROG_CC])
9AC_REQUIRE([AC_CANONICAL_HOST])
[51c195d5]10AC_CACHE_CHECK(whether $CC_FOR_TARGET accepts --pipe,rtems_cv_gcc_pipe,
11[
[98100d2]12rtems_cv_gcc_pipe=no
13if test "$rtems_cv_prog_gcc" = "yes"; then
[78ffe89]14dnl case "$host_os" in
15dnl   cygwin*)
16dnl    ;;
17dnl  *)
[a7a08713]18    echo 'void f(){}' >conftest.c
19    if test -z "`${CC_FOR_TARGET} --pipe -c conftest.c 2>&1`";then
20      rtems_cv_gcc_pipe=yes
21    fi
22    rm -f conftest*
[78ffe89]23dnl    ;;
24dnl esac
[98100d2]25fi
[a7a08713]26])
27])
Note: See TracBrowser for help on using the repository browser.