-case $CONFIGDOTSH in
+case $PERL_CONFIG_SH in
'')
if test -f config.sh; then TOP=.;
elif test -f ../config.sh; then TOP=..;
rm -f writemain
$spitshell >writemain <<!GROK!THIS!
$startsh
-src=$src
!GROK!THIS!
: In the following dollars and backticks do not need the extra backslash.
done
-sed '/Do not delete this line--writemain depends on it/q' $src/miniperlmain.c
+sed '/Do not delete this line--writemain depends on it/q' miniperlmain.c
if test X"$args" != "X" ; then