]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
configure.in: If as or ld segfaults, don't clutter with it stdout.
authorJakub Jelinek <jakub@redhat.com>
Tue, 7 May 2002 00:15:07 +0000 (02:15 +0200)
committerJakub Jelinek <jakub@gcc.gnu.org>
Tue, 7 May 2002 00:15:07 +0000 (02:15 +0200)
* configure.in: If as or ld segfaults, don't clutter with it stdout.
* configure: Rebuilt.

From-SVN: r53243

gcc/ChangeLog
gcc/configure
gcc/configure.in

index 08ff8dc33f98b1fbeb2886e2b8e49ab68398ad47..21880bb54b8c79b1311a2513742c1b4025af72cf 100644 (file)
@@ -1,3 +1,8 @@
+2002-05-07  Jakub Jelinek  <jakub@redhat.com>
+
+       * configure.in: If as or ld segfaults, don't clutter with it stdout.
+       * configure: Rebuilt.
+
 2002-05-05  Jakub Jelinek  <jakub@redhat.com>
 
        PR target/6561
index cefc654fe95a469f80af4f8082af43b2a9716e79..d66daba2d1c28bf12cb21e7f1b0438abf2c62c5c 100755 (executable)
@@ -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
index d06b73476bc0e455358fd90b8ad4d973cfcd9c3c..05c0c7b34bf19e8ae721518313e71e8736016666 100644 (file)
@@ -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