# $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
loclist="
awk
cat
+chmod
comm
cp
echo
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
;;
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
;;
*) 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
;;
#!/bin/sh
$targetrun -l $targetuser $targethost "mkdir -p \$@"
EOF
+ $chmod a+rx $targetmkdir
;;
*) echo "Unknown targetmkdir '$targetmkdir'" >&4
exit 1
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
;;