summary refs log tree commit diff
path: root/configure.in
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2004-01-14 04:28:32 +0000
committerUlrich Drepper <drepper@redhat.com>2004-01-14 04:28:32 +0000
commit5de90b7c610de4f8c869d460b6025853a96bdccf (patch)
treed39dde4cadfd8356273962c1f7012ebd9ab164d2 /configure.in
parent82e2ba9a036d0a8a01344271ebd2db69f3b20cc7 (diff)
downloadglibc-5de90b7c610de4f8c869d460b6025853a96bdccf.tar.gz
glibc-5de90b7c610de4f8c869d460b6025853a96bdccf.tar.xz
glibc-5de90b7c610de4f8c869d460b6025853a96bdccf.zip
Update.
	* configure.in: Rewrite test to give gcc to clean up after itself.
	Patch by Greg Schafer.
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.in b/configure.in
index 9d2b347e8f..95fef71ca6 100644
--- a/configure.in
+++ b/configure.in
@@ -1711,7 +1711,7 @@ if AC_TRY_COMMAND([$libc_unwind_check >&AS_MESSAGE_LOG_FD]) ||
    AC_TRY_COMMAND([$libc_unwind_check -lgcc_eh -lgcc >&AS_MESSAGE_LOG_FD])
 then
   if $libc_unwind_check -v 2>&1 >/dev/null \
-     | grep -q -- --eh-frame-hdr; then
+     | grep -- --eh-frame-hdr 2>&1 >/dev/null; then
     libc_cv_gcc_dwarf2_unwind_info=no_registry_needed
   else
     libc_cv_gcc_dwarf2_unwind_info=static