#!/bin/sh
-# $Id: configure,v 1.9 1996/06/26 00:50:31 paulus Exp $
+# $Id: configure,v 1.12 1996/10/08 04:36:56 paulus Exp $
if [ -d /NextApps ]; then
system="NeXTStep"
makext="bsd";
case $release in
1.*) state="known"; ksrc="freebsd-old";;
- 2.0*) state="known"; ksrc="freebsd-2.0";;
- 2.[1-9]*) state="late"; ksrc="freebsd-2.0";;
+ 2.[01]*) state="known"; ksrc="freebsd-2.0";;
+ 2.[2-9]*) state="late"; ksrc="freebsd-2.0";;
esac;;
NeXTStep)
makext="NeXT";
ksrc="NeXT";
state="known";;
+ SINIX-?)
+ case $release in
+ 5.4[01]) state=known; ksrc=svr4; makext=svr4;;
+ 5.4[2-9]) state=late; ksrc=svr4; makext=svr4;;
+ esac;;
# Intel SVR4 systems come with a bug in the uname program. Unless
# your provider fixed the bug, or you get a fix for it, uname -S will
# overwrite the system name with the node name!
- UNIX_System_V|`uname -n`)
+ UNIX_SV|UNIX_System_V|`uname -n`)
case $release in
4.0) state=known; ksrc=svr4; makext=svr4;;
4.2) state=late; ksrc=svr4; makext=svr4;;
esac;;
esac
-if [ -d $ksrc ]; then :; else
+if [ -d "$ksrc" ]; then :; else
state="notincluded"
unset ksrc
fi
echo "in this distribution. Sorry.";;
esac
-if [ "$ksrc" ]; then
+if [ -d "$ksrc" ]; then
echo "Creating links to Makefiles."
rm -f Makefile
ln -s $ksrc/Makefile.top Makefile