diff options
author | Mike Frysinger <vapier@gentoo.org> | 2012-10-23 22:37:50 -0400 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2012-10-24 13:00:48 -0400 |
commit | 8175a2532bd19cca1592f9c7f598302c5ae3770a (patch) | |
tree | c31e7683eb2a2d28dab369fd2fe59e6793880a45 /configure.in | |
parent | 10b40d85672e13032422572f2106752b31ed1704 (diff) | |
download | glibc-8175a2532bd19cca1592f9c7f598302c5ae3770a.tar glibc-8175a2532bd19cca1592f9c7f598302c5ae3770a.tar.gz glibc-8175a2532bd19cca1592f9c7f598302c5ae3770a.tar.bz2 glibc-8175a2532bd19cca1592f9c7f598302c5ae3770a.zip |
drop -q flag when using grep
We don't currently want to rely on the -q option to grep.
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'configure.in')
-rw-r--r-- | configure.in | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/configure.in b/configure.in index 3af030a856..b3fab3772b 100644 --- a/configure.in +++ b/configure.in @@ -1011,7 +1011,7 @@ AC_MSG_ERROR([ fi AC_CACHE_CHECK(whether GCC supports -static-libgcc, libc_cv_gcc_static_libgcc, [dnl -if $CC -v -static-libgcc 2>&1 | grep -q 'unrecognized option.*static-libgcc'; then +if $CC -v -static-libgcc 2>&1 | grep 'unrecognized option.*static-libgcc' >/dev/null; then libc_cv_gcc_static_libgcc= else libc_cv_gcc_static_libgcc=-static-libgcc @@ -1376,7 +1376,7 @@ AC_CACHE_CHECK(for libunwind-support in compiler, int main (void) { return 0; } EOF if ${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS -static -o conftest \ - conftest.c -v 2>&1 >/dev/null | grep -q " -lunwind "; then + conftest.c -v 2>&1 >/dev/null | grep ' -lunwind ' >/dev/null; then libc_cv_cc_with_libunwind=yes else libc_cv_cc_with_libunwind=no @@ -1526,7 +1526,7 @@ void foo (void) { } EOF if AC_TRY_COMMAND([${CC-cc} $CFLAGS $CPPFLAGS -S -o conftest.s conftest.c 1>&AS_MESSAGE_LOG_FD]) \ - && grep -q .note.GNU-stack conftest.s \ + && grep .note.GNU-stack conftest.s >/dev/null \ && AC_TRY_COMMAND([${CC-cc} $ASFLAGS -Wa,--noexecstack -c -o conftest.o conftest.s 1>&AS_MESSAGE_LOG_FD]) then |