Files
rtems/cpukit/aclocal/gcc-pipe.m4
Ralf Corsepius 863fb4f1a9 2003-11-26 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* 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.
2003-11-26 06:56:28 +00:00

22 lines
432 B
Plaintext

dnl
dnl $Id$
dnl
dnl Check whether the target compiler accepts -pipe
dnl
AC_DEFUN([RTEMS_GCC_PIPE],
[AC_REQUIRE([RTEMS_PROG_CC])
AC_REQUIRE([AC_CANONICAL_HOST])
AC_CACHE_CHECK(whether $CC accepts --pipe,rtems_cv_gcc_pipe,
[
rtems_cv_gcc_pipe=no
if test x"$GCC" = x"yes"; then
echo 'void f(){}' >conftest.c
if test -z "`${CC} --pipe -c conftest.c 2>&1`";then
rtems_cv_gcc_pipe=yes
fi
rm -f conftest*
fi
])
])