$NetBSD: patch-ay,v 1.2 2005/03/03 12:01:30 garbled Exp $ --- MPI-2-C++/configure.orig 2004-07-27 09:37:34.000000000 -0700 +++ MPI-2-C++/configure 2004-10-15 09:44:12.000000000 -0700 @@ -3275,15 +3275,13 @@ ; return 0; } EOF if { (eval echo configure:3232: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then - rm -rf conftest* libmpi_found=yes else echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 - rm -rf conftest* libmpi_found=no fi -rm -f conftest* +rm -rf conftest* if test "$libmpi_found" = "yes"; then echo "$ac_t""yes" 1>&6 else @@ -3491,12 +3489,10 @@ ; return 0; } EOF if { (eval echo configure:3448: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then - rm -rf conftest* use_pending=yes else echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 - rm -rf conftest* use_pending=no fi rm -f conftest* @@ -4002,7 +3998,7 @@ EOF fi -/bin/rm -f conftest* +rm -f conftest* # Don't ask. It's an AIX thing. if test "$?host" = "0"; then @@ -4078,7 +4074,7 @@ EOF fi -/bin/rm -f conftest* +rm -f conftest* LDFLAGS=$SAVE_LDFLAGS LIBS=$SAVE_LIBS