mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-09 03:15:11 +00:00
Bug 491325: Redirect stderr of 'cat' to /dev/null in configure.in's check for GCC pipe support. r=ted
This commit is contained in:
parent
4abeae3f2e
commit
5c46154ce5
@ -7062,7 +7062,7 @@ if test -n "$GNU_CC" && test -n "$GNU_CXX" && test -n "$GNU_AS"; then
|
||||
echo '#include <stdio.h>' > dummy-hello.c
|
||||
echo 'int main() { printf("Hello World\n"); exit(0); }' >> dummy-hello.c
|
||||
${CC} -S dummy-hello.c -o dummy-hello.s 2>&5
|
||||
cat dummy-hello.s | ${AS_BIN} -o dummy-hello.S - 2>&5
|
||||
cat dummy-hello.s 2> /dev/null | ${AS_BIN} -o dummy-hello.S - 2>&5
|
||||
if test $? = 0; then
|
||||
_res_as_stdin="yes"
|
||||
else
|
||||
|
@ -4484,7 +4484,7 @@ if test -n "$GNU_CC" && test -n "$GNU_CXX" && test -n "$GNU_AS"; then
|
||||
echo '#include <stdio.h>' > dummy-hello.c
|
||||
echo 'int main() { printf("Hello World\n"); exit(0); }' >> dummy-hello.c
|
||||
${CC} -S dummy-hello.c -o dummy-hello.s 2>&5
|
||||
cat dummy-hello.s | ${AS_BIN} -o dummy-hello.S - 2>&5
|
||||
cat dummy-hello.s 2> /dev/null | ${AS_BIN} -o dummy-hello.S - 2>&5
|
||||
if test $? = 0; then
|
||||
_res_as_stdin="yes"
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user