#! /bin/sh
-case $CONFIGDOTSH in
+case $PERL_CONFIG_SH in
'')
if test -f config.sh; then TOP=.;
elif test -f ../config.sh; then TOP=..;
*/*) cd `expr X$0 : 'X\(.*\)/'` ;;
esac
+case "$osname" in
+amigaos) cat=/bin/cat ;; # must be absolute
+esac
+
echo "Extracting makedepend (with variable substitutions)"
rm -f makedepend
$spitshell >makedepend <<!GROK!THIS!
export PATH || (echo "OOPS, this isn't sh. Desperation time. I will feed myself to sh."; sh \$0; kill \$\$)
-case $CONFIGDOTSH in
+case $PERL_CONFIG_SH in
'')
if test -f config.sh; then TOP=.;
elif test -f ../config.sh; then TOP=..;
if [ "$archname" = cygwin ]; then
uwinfix="-e s,\\\\\\\\,/,g"
else
- uwinfix=
+ if [ "$osname" = posix-bc ]; then
+ uwinfix="-e s/\\*POSIX(\\(.*\\))/\\1/"
+ else
+ uwinfix=
+ fi
fi
fi
fi