develooper Front page | perl.perl5.porters | Postings from September 2000

[ID 20000902.003] [PATCH 6962] Configure -- Assignment wrong wayaround?

Thread Next
From:
Philip Newton
Date:
September 2, 2000 02:38
Subject:
[ID 20000902.003] [PATCH 6962] Configure -- Assignment wrong wayaround?
Message ID:
200009020938.LAA73191@smtp2.nikoma.de
I assume the following assignments are back-to-front -- that of $cc is
set to anything except '', it should be used for modelcc; if it is blank,
then use 'cc' for modelcc.

--- Configure~	Sat Sep  2 08:10:00 2000
+++ Configure	Sat Sep  2 10:16:38 2000
@@ -2916,8 +2916,8 @@
 }
 EOP
 	case "$cc" in
-	'') modelcc="$cc" ;;
-	*) modelcc="cc" ;;
+	'') modelcc="cc" ;;
+	*) modelcc="$cc" ;;
 	esac
 	( $modelcc -o pdp11 pdp11.c ) >/dev/null 2>&1
 	if $test -f pdp11 && ./pdp11 2>/dev/null; then

End of patch.

Applies to perl 5.7.0 build 6962.

Cheers,
Philip


Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About