Change 32967 by [EMAIL PROTECTED] on 2008/01/12 21:07:14
Subject: Re: [PATCH] Stop DTrace config option looping in
non-interactive mode
From: Andy Armstrong <[EMAIL PROTECTED]>
Message-Id: <[EMAIL PROTECTED]>
Date: Sat, 12 Jan 2008 20:27:46 +0000
Affected files ...
... //depot/perl/Configure#679 edit
Differences ...
==== //depot/perl/Configure#679 (xtext) ====
Index: perl/Configure
--- perl/Configure#678~32963~ 2008-01-11 12:28:34.000000000 -0800
+++ perl/Configure 2008-01-12 13:07:14.000000000 -0800
@@ -8961,7 +8961,7 @@
If this doesn't make any sense to you, just accept the default '$dflt'.
EOM
-while test 1 ; do
+while $test 1 ; do
case "$usedtrace" in
$define|true|[yY]*)
dflt='y'
@@ -8994,7 +8994,7 @@
set dtrace
eval $setvar
- if test -f $dtrace
+ if $test -f $dtrace
then
if $dtrace -h -s ../perldtrace.d \
-o perldtrace.tmp >/dev/null 2>&1 \
@@ -9016,8 +9016,21 @@
break;
fi
- echo "$dtrace was not found."
- echo " "
+ case "$fastread" in
+ yes)
+ cat >&2 <<EOM
+
+*** $me: Fatal Error: $dtrace not found.
+*** Can't continue.
+
+EOM
+ exit 1
+ ;;
+ *)
+ echo "*** $dtrace was not found."
+ echo " "
+ ;;
+ esac
done
: define an is-a-typedef? function
End of Patch.