aboutsummaryrefslogtreecommitdiff
path: root/libjava/configure
diff options
context:
space:
mode:
authorRainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>2010-05-25 18:50:01 +0000
committerRainer Orth <ro@gcc.gnu.org>2010-05-25 18:50:01 +0000
commitbc492e47c89a4f5c21bcbab7adcc2c897d48a761 (patch)
treeb8d7cc9605d25f186e34f2a124bc0c2f11130694 /libjava/configure
parent245763e30a7125036bd41001f8612c48f10a2635 (diff)
downloadgcc-bc492e47c89a4f5c21bcbab7adcc2c897d48a761.zip
gcc-bc492e47c89a4f5c21bcbab7adcc2c897d48a761.tar.gz
gcc-bc492e47c89a4f5c21bcbab7adcc2c897d48a761.tar.bz2
configure.ac: Redirect grep stdout, stderr to /dev/null instead of grep -q.
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. From-SVN: r159840
Diffstat (limited to 'libjava/configure')
-rwxr-xr-xlibjava/configure4
1 files changed, 2 insertions, 2 deletions
diff --git a/libjava/configure b/libjava/configure
index 8f54905..06ba4e9 100755
--- a/libjava/configure
+++ b/libjava/configure
@@ -24520,8 +24520,8 @@ fi
# Check if linker supports static linking on a per library basis
LD_START_STATIC_SPEC=
LD_FINISH_STATIC_SPEC=
-if $LD --help 2>&1 | grep -q -e -call_shared ; then
- if $LD --help 2>&1 | grep -q -e -non_shared ; then
+if $LD --help 2>&1 | grep -- -call_shared >/dev/null 2>&1; then
+ if $LD --help 2>&1 | grep -- -non_shared >/dev/null 2>&1; then
LD_START_STATIC_SPEC='%{static-libgcj:-non_shared}'
LD_FINISH_STATIC_SPEC='%{static-libgcj:-call_shared}'
fi