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

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

Thread Previous
From:
H.Merijn Brand
Date:
April 18, 2007 12:10
Subject:
Re: [PATCH] Configure: echo without \n but run with $run
Message ID:
20070418210941.72ff647d@pc09
On Wed, 18 Apr 2007 06:49:59 +0300 (EEST), Jarkko Hietaniemi <jhi@cc.hut.fi>
wrote:

In in a huge sweep to catch up with reality in change #30977

Also now correctly implements the config_h.SH change from #30327, which is
bound to get lost as config_h.SH is a GENERATED file. This patch also adds
a big warning to config_h.SH's top.

> --- 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)
> 


-- 
H.Merijn Brand         Amsterdam Perl Mongers (http://amsterdam.pm.org/)
using & porting perl 5.6.2, 5.8.x, 5.9.x   on HP-UX 10.20, 11.00, 11.11,
& 11.23, SuSE 10.0 & 10.2, AIX 4.3 & 5.2, and Cygwin. http://qa.perl.org
http://mirrors.develooper.com/hpux/            http://www.test-smoke.org
                        http://www.goldmark.org/jeff/stupid-disclaimers/

Thread Previous


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