From: Jarkko Hietaniemi Date: Fri, 22 Jun 2001 21:09:42 +0000 (+0000) Subject: Cleanup of the cross-compilation unit. X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=f8006fac4b79af7235a98c165d6a9d5dc0436015;p=p5sagit%2Fp5-mst-13.2.git Cleanup of the cross-compilation unit. p4raw-id: //depot/perl@10837 --- diff --git a/Configure b/Configure index f09eba5..89b1f7a 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 Fri Jun 22 23:55:12 EET DST 2001 [metaconfig 3.0 PL70] +# Generated on Sat Jun 23 01:05:11 EET DST 2001 [metaconfig 3.0 PL70] # (with additional metaconfig patches by perlbug@perl.org) cat >c1$$ <&4 + incpth="`$echo $incpth|$sed 's/^ //'`" + echo "Guessing incpth '$incpth'." >&4 for i in $*; do - j=`$echo $i|$sed 's,/include$,/lib,'` + j="`$echo $i|$sed 's,/include$,/lib,'`" if $test -d $j; then libpth="$libpth $j" fi done - libpth="$echo $libpth|$sed 's/^ //'" - echo "Guessing libpth $libpth." >&4 + libpth="`$echo $libpth|$sed 's/^ //'`" + echo "Guessing libpth '$libpth'." >&4 fi $rm -f try.c ;; @@ -2347,11 +2348,11 @@ $define|true|[yY]*) esac case "$incpth" in '') echo "Incpth not defined." >&4; croak=y ;; - *) echo "Using incpth $incpth." >&4 ;; + *) echo "Using incpth '$incpth'." >&4 ;; esac case "$libpth" in '') echo "Libpth not defined." >&4; croak=y ;; - *) echo "Using libpth $libpth." >&4 ;; + *) echo "Using libpth '$libpth'." >&4 ;; esac case "$usrinc" in '') for i in $incpth; do @@ -2384,7 +2385,7 @@ $define|true|[yY]*) ;; *) pwd=`$test -f ../Configure & cd ..; pwd` run=$pwd/Cross/run - targetmkdir=$pwd/Cross/mkdirkrun + targetmkdir=$pwd/Cross/mkdir to=$pwd/Cross/to from=$pwd/Cross/from ;; @@ -2448,6 +2449,7 @@ EOF #!/bin/sh $targetrun -l $targetuser $targethost "mkdir -p \$@" EOF + $chmod a+rx $targetmkdir ;; *) echo "Unknown targetmkdir '$targetmkdir'" >&4 exit 1 @@ -2524,23 +2526,24 @@ EOF if $test ! -f $run; then echo "Target 'run' script '$run' not found." >&4 else - chmod a+rx $run + $chmod a+rx $run fi if $test ! -f $to; then echo "Target 'to' script '$to' not found." >&4 else - chmod a+rx $to + $chmod a+rx $to fi if $test ! -f $from; then echo "Target 'from' script '$from' not found." >&4 else - chmod a+rx $from + $chmod a+rx $from fi if $test ! -f $run -o ! -f $to -o ! -f $from; then exit 1 fi cat >&4 <