develooper Front page | perl.perl5.porters | Postings from April 2007

[PATCH] Configure: echo without \n but run with $run

Thread Next
From:
Jarkko Hietaniemi
Date:
April 17, 2007 20:50
Subject:
[PATCH] Configure: echo without \n but run with $run
Message ID:
200704180349.l3I3nxDh017058@vipunen.hut.fi
--- Configure.dist	2007-04-18 06:46:48.713535400 +0300
+++ Configure	2007-04-18 06:48:40.655540000 +0300
@@ -12968,11 +12968,11 @@
 	0)  echo "Yes, it does" >&4
 	    d_futimes="$define"
 	    ;;
-	*)  echo "No, it has futimes, but it isn't working ($rc) (probably harmless)\n" >&4
+	*)  echo "No, it has futimes, but it isn't working ($rc) (probably harmless)" >&4
 	    ;;
     esac
 else
-    echo "No, it does not (probably harmless)\n" >&4
+    echo "No, it does not (probably harmless)" >&4
 fi
 $rm -f try.* try core core.try.*
 
@@ -14600,7 +14600,7 @@
 	    echo "Yes, it does ($foo)" >&4
 	    d_libm_lib_version="$define"
 	else
-	    echo "No, it does not (probably harmless)\n" >&4
+	    echo "No, it does not (probably harmless)" >&4
 	    fi
 	$rm -f try.* try core core.try.*
 	;;
@@ -14694,7 +14694,7 @@
 EOCP
 	set try
 	if eval $compile; then
-	    if ./try; then
+	    if $run ./try; then
 		d_localtime_r_needs_tzset=undef;
 	    else
 		d_localtime_r_needs_tzset=define;
@@ -15976,7 +15976,7 @@
 EOCP
 		set try
 		if eval $compile_ok; then
-			if ./try 2>/dev/null; then
+			if $run ./try 2>/dev/null; then
 				echo "Yes, it can."
 				val="$define"
 			else
@@ -16052,7 +16052,7 @@
 EOCP
 		set try
 		if eval $compile_ok; then
-			if ./try 2>/dev/null; then
+			if $run ./try 2>/dev/null; then
 				echo "Yes, it can."
 				val="$define"
 			else
@@ -18021,7 +18021,7 @@
 EOCP
 		xxx_prompt=y
 		set try
-		if eval $compile && ./try > /dev/null; then
+		if eval $compile && $run ./try > /dev/null; then
 			dflt=`$run ./try`
 			case "$dflt" in
 			[1-4][1-4][1-4][1-4]|12345678|87654321)

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