4.104.114.84.95
Last change
on this file since a7a08713 was
a7a08713,
checked in by Joel Sherrill <joel.sherrill@…>, on 03/20/98 at 16:52:10
|
Patch from Ralf Corsepius to properly detect that Cygwin32 does not
support the -pipe option on the compiler.
|
-
Property mode set to
100644
|
File size:
575 bytes
|
Rev | Line | |
---|
[51c195d5] | 1 | dnl |
---|
| 2 | dnl $Id$ |
---|
| 3 | dnl |
---|
| 4 | dnl Check whether the target compiler accepts -pipe |
---|
| 5 | dnl |
---|
| 6 | dnl 98/02/11 Ralf Corsepius corsepiu@faw.uni-ulm.de |
---|
| 7 | dnl |
---|
| 8 | |
---|
| 9 | AC_DEFUN(RTEMS_GCC_PIPE, |
---|
[a7a08713] | 10 | [AC_REQUIRE([RTEMS_PROG_CC]) |
---|
| 11 | AC_REQUIRE([AC_CANONICAL_HOST]) |
---|
[51c195d5] | 12 | AC_CACHE_CHECK(whether $CC_FOR_TARGET accepts --pipe,rtems_cv_gcc_pipe, |
---|
| 13 | [ |
---|
[a7a08713] | 14 | case "$host_os" in |
---|
| 15 | cygwin32*) |
---|
| 16 | rtems_cv_gcc_pipe=no |
---|
| 17 | ;; |
---|
| 18 | *) |
---|
| 19 | echo 'void f(){}' >conftest.c |
---|
| 20 | if test -z "`${CC_FOR_TARGET} --pipe -c conftest.c 2>&1`";then |
---|
| 21 | rtems_cv_gcc_pipe=yes |
---|
| 22 | else |
---|
| 23 | rtems_cv_gcc_pipe=no |
---|
| 24 | fi |
---|
| 25 | rm -f conftest* |
---|
| 26 | ;; |
---|
| 27 | esac |
---|
| 28 | ]) |
---|
| 29 | ]) |
---|
Note: See
TracBrowser
for help on using the repository browser.