From: Spider Boardman <spider@orb.nashua.nh.us>
Date: Tue, 19 Jun 2001 16:48:07 +0000 (-0400)
Subject: [ID 20010619.011] Not OK: perl v5.7.1 +DEVEL10721 +devel-10722 on alpha-dec_osf-per... 
X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=28f5ac64634a59c745f35fa344b1611121715c59;p=p5sagit%2Fp5-mst-13.2.git

[ID 20010619.011] Not OK: perl v5.7.1 +DEVEL10721 +devel-10722 on alpha-dec_osf-per lio 4.0f (UNINSTALLED)
Message-Id: <200106192048.QAA20849@Orb.Nashua.NH.US>

Further fixes to fflush(NULL) detection.

p4raw-id: //depot/perl@10733
---

diff --git a/Configure b/Configure
index 429af23..1c22563 100755
--- a/Configure
+++ b/Configure
@@ -20,7 +20,7 @@
 
 # $Id: Head.U,v 3.0.1.9 1997/02/28 15:02:09 ram Exp $
 #
-# Generated on Tue Jun 19 23:31:51 EET DST 2001 [metaconfig 3.0 PL70]
+# Generated on Tue Jun 19 23:54:48 EET DST 2001 [metaconfig 3.0 PL70]
 # (with additional metaconfig patches by perlbug@perl.org)
 
 cat >c1$$ <<EOF
@@ -13793,8 +13793,9 @@ if $test "X$fflushNULL" = X -o "X$fflushall" = X; then
     if eval $compile; then
 	    $rm -f try.out
  	    $run ./try 2>/dev/null
+	    code="$?"
 	    $from try.out
-	    if $test ! -s try.out -a "X$?" = X42; then
+	    if $test ! -s try.out -a "X$code" = X42; then
 		output=-DTRY_FPUTC
 	    fi
     fi
@@ -13804,8 +13805,9 @@ if $test "X$fflushNULL" = X -o "X$fflushall" = X; then
 	    if eval $compile; then
 		    $rm -f try.out
  		    $run ./try 2>/dev/null
+		    code="$?"
 		    $from try.out
-		    if $test ! -s try.out -a "X$?" = X42; then
+		    if $test ! -s try.out -a "X$code" = X42; then
 			output=-DTRY_FPRINTF
 		    fi
 	    fi
@@ -13943,8 +13945,9 @@ EOM
 EOM
 				$rm -f try.out
 				$run ./try 2>/dev/null
+				code=$?
 				$from try.out
-				if $test -s try.out -a "X$?" = X42; then
+				if $test -s try.out -a "X$code" = X42; then
 					fflushall="`$cat try.out`"
 				fi
 			fi