From: Jakub Jelinek Date: Tue, 7 May 2002 00:15:07 +0000 (+0200) Subject: configure.in: If as or ld segfaults, don't clutter with it stdout. X-Git-Tag: releases/gcc-3.1.0~28 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5ca29db18675f6b3c7e2a4421a8f290f0fb95382;p=thirdparty%2Fgcc.git configure.in: If as or ld segfaults, don't clutter with it stdout. * configure.in: If as or ld segfaults, don't clutter with it stdout. * configure: Rebuilt. From-SVN: r53243 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 08ff8dc33f98..21880bb54b8c 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2002-05-07 Jakub Jelinek + + * configure.in: If as or ld segfaults, don't clutter with it stdout. + * configure: Rebuilt. + 2002-05-05 Jakub Jelinek PR target/6561 diff --git a/gcc/configure b/gcc/configure index cefc654fe95a..d66daba2d1c2 100755 --- a/gcc/configure +++ b/gcc/configure @@ -7798,8 +7798,8 @@ echo "configure:7738: checking whether linker eh_frame optimizations work proper .LEFDE3: .4byte 0 EOF - if $gcc_cv_as -o conftest.o conftest.s 1>&5 2>&1; then - if $gcc_cv_ld --eh-frame-hdr -shared -o conftest.so conftest.o 1>&5 2>&1; then + if ($gcc_cv_as -o conftest.o conftest.s; exit $?) 1>&5 2>&1; then + if ($gcc_cv_ld --eh-frame-hdr -shared -o conftest.so conftest.o; exit $?) 1>&5 2>&1; then if $gcc_cv_objdump -h conftest.so 2>&5 \ | grep 'eh_frame_hdr[ ]*0*[01][048cC][ ]' 1>&5 2>&1; then gcc_cv_ld_eh_frame_hdr_works=yes; break diff --git a/gcc/configure.in b/gcc/configure.in index d06b73476bc0..05c0c7b34bf1 100644 --- a/gcc/configure.in +++ b/gcc/configure.in @@ -2064,8 +2064,8 @@ if test x"$gcc_cv_ld_eh_frame_hdr" = xyes; then .LEFDE3: .4byte 0 EOF - if $gcc_cv_as -o conftest.o conftest.s 1>&AC_FD_CC 2>&1; then - if $gcc_cv_ld --eh-frame-hdr -shared -o conftest.so conftest.o 1>&AC_FD_CC 2>&1; then + if ($gcc_cv_as -o conftest.o conftest.s; exit $?) 1>&AC_FD_CC 2>&1; then + if ($gcc_cv_ld --eh-frame-hdr -shared -o conftest.so conftest.o; exit $?) 1>&AC_FD_CC 2>&1; then changequote(,)dnl if $gcc_cv_objdump -h conftest.so 2>&AC_FD_CC \ | grep 'eh_frame_hdr[ ]*0*[01][048cC][ ]' 1>&AC_FD_CC 2>&1; then