# $Id: Head.U,v 3.0.1.9 1997/02/28 15:02:09 ram Exp $
#
-# Generated on Fri Dec 21 17:46:40 EET 2001 [metaconfig 3.0 PL70]
+# Generated on Fri Dec 21 20:17:57 EET 2001 [metaconfig 3.0 PL70]
# (with additional metaconfig patches by perlbug@perl.org)
cat >c1$$ <<EOF
test -d UU || mkdir UU
cd UU && rm -f ./*
+if test -f "/system/gnu_library/bin/ar.pm"; then
+ _exe=".pm"
+else
+ _exe=""
+fi
+
ccname=''
ccversion=''
ccsymbols=''
: set useopcode=false in your hint file to disable the Opcode extension.
useopcode=true
: Trailing extension. Override this in a hint file, if needed.
-_exe=''
: Extra object files, if any, needed on this platform.
archobjs=''
archname=''
csh
date
egrep
+gmake
gzip
less
ln
esac
done
case "$egrep" in
-egrep$_exe)
+egrep)
echo "Substituting grep for egrep."
egrep=$grep
;;
esac
case "$ln" in
-ln$_exe)
+ln)
echo "Substituting cp for ln."
ln=$cp
;;
esac
case "$make$gmake" in
-*make$_exe)
+*/gmake|?:[\\/]gmake)
+ # We can't have osname yet.
+ if test -f "/system/gnu_library/bin/ar.pm"; then # Stratus VOS
+ # Assume that gmake, if found, is definitely GNU make
+ # and prefer it over the system make.
+ echo "Substituting gmake for make."
+ make=$gmake
+ fi
+ ;;
+*/make|?:[\\/]make)
;;
*)
echo "I can't find make or gmake, and my life depends on it." >&4
: or the new name.
case "$_exe" in
'') case "$exe_ext" in
- '') ;;
+ '') ;;
*) _exe="$exe_ext" ;;
esac
;;