summaryrefslogtreecommitdiff
path: root/gcc/configure.ac
diff options
context:
space:
mode:
authorro <ro@138bc75d-0d04-0410-961f-82ee72b054a4>2010-05-25 18:50:01 +0000
committerro <ro@138bc75d-0d04-0410-961f-82ee72b054a4>2010-05-25 18:50:01 +0000
commitb1383b01d1804c63fc30fbc35276e2b2ecac2c94 (patch)
treeb8d7cc9605d25f186e34f2a124bc0c2f11130694 /gcc/configure.ac
parentc4b9c21a2470c2d1d1cca1577a802531752ab067 (diff)
downloadgcc-b1383b01d1804c63fc30fbc35276e2b2ecac2c94.tar.gz
libjava:
* configure.ac: Redirect grep stdout, stderr to /dev/null instead of grep -q. Use -- instead of grep -e. * configure: Regenerate. gcc: * configure.ac (gcc_cv_as_ld_jalr_reloc): Redirect grep stdout, stderr to /dev/null instead of grep -q. * configure: Regenerate. contrib: * dg-extract-results.sh: Redirect grep output to /dev/null instead of grep -q. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@159840 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/configure.ac')
-rw-r--r--gcc/configure.ac4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/configure.ac b/gcc/configure.ac
index fdb0d3025a2..06770333a99 100644
--- a/gcc/configure.ac
+++ b/gcc/configure.ac
@@ -3601,8 +3601,8 @@ x:
echo ' .end x' >> conftest.s
if $gcc_cv_as -o conftest.o conftest.s >/dev/null 2>&AS_MESSAGE_LOG_FD \
&& $gcc_cv_ld -shared -o conftest.so conftest.o >/dev/null 2>&AS_MESSAGE_LOG_FD; then
- if $gcc_cv_objdump -d conftest.so | grep -q jalr \
- && $gcc_cv_objdump -d conftest.so | grep -q "bal.*<x>"; then
+ if $gcc_cv_objdump -d conftest.so | grep jalr >/dev/null 2>&1 \
+ && $gcc_cv_objdump -d conftest.so | grep "bal.*<x>" >/dev/null 2>&1; then
gcc_cv_as_ld_jalr_reloc=yes
fi
fi