diff options
author | Jarkko Hietaniemi <jhi@iki.fi> | 2001-06-22 21:09:42 +0000 |
---|---|---|
committer | Jarkko Hietaniemi <jhi@iki.fi> | 2001-06-22 21:09:42 +0000 |
commit | f8006fac4b79af7235a98c165d6a9d5dc0436015 (patch) | |
tree | 296690fabe6a3d2949581e97e0627cb124762471 /Configure | |
parent | 86cf6ae6e884e02b00440f3f6d7b1b7693268767 (diff) | |
download | perl-f8006fac4b79af7235a98c165d6a9d5dc0436015.tar.gz |
Cleanup of the cross-compilation unit.
p4raw-id: //depot/perl@10837
Diffstat (limited to 'Configure')
-rwxr-xr-x | Configure | 31 |
1 files changed, 17 insertions, 14 deletions
@@ -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$$ <<EOF @@ -1997,6 +1997,7 @@ $eunicefix loc loclist=" awk cat +chmod comm cp echo @@ -2323,20 +2324,20 @@ $define|true|[yY]*) nm=$targetarch-nm ranlib=$targetarch-ranlib $echo 'extern int foo;' > try.c - set X `$cc -v -E perl.c 2>&1 | $awk '/^#include </,/^End of search /'|$grep '/include'` + set X `$cc -v -E try.c 2>&1 | $awk '/^#include </,/^End of search /'|$grep '/include'` shift if $test $# -gt 0; then incpth="$incpth $*" - incpth="$echo $incpth|$sed 's/^ //'" - echo "Guessing incpth $incpth" >&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 <<EOF -Using '$run' for remote execution, and '$from' and '$to' +Using '$run' for remote execution, +and '$from' and '$to' for remote file transfer. EOF ;; |