2 # $Id: configure,v 1.13 1997/04/30 05:39:02 paulus Exp $
4 if [ -d /NextApps ]; then
16 0.*) state="ancient";;
17 1.0*) state="ancient";;
18 1.1*) state="known"; ksrc="netbsd-1.1";;
19 1.2*) state="known"; ksrc="netbsd-1.2"; makext="netbsd-1.2";;
21 state="late"; ksrc="netbsd-1.2";;
25 [0-3]*) state="ancient";;
26 4*) state="known"; ksrc="sunos4"; makext="sunos4";;
27 5*) state="known"; ksrc="svr4"; makext="sol2";;
32 [0-3]*) state="ancient";;
33 4.[01]*) state="early"; ksrc="ultrix";;
34 4.[234]) state="known"; ksrc="ultrix";;
39 V1.*) state="ancient"; ksrc="osf1";;
40 V[23].*) state="known"; ksrc="osf1";;
41 V[4-9]*) state="late"; ksrc="osf1";;
50 1.*) state="known"; ksrc="freebsd-old";;
51 2.[01]*) state="known"; ksrc="freebsd-2.0";;
52 2.[2-9]*) state="late"; ksrc="freebsd-2.0";;
60 5.4[01]) state=known; ksrc=svr4; makext=svr4;;
61 5.4[2-9]) state=late; ksrc=svr4; makext=svr4;;
63 # Intel SVR4 systems come with a bug in the uname program. Unless
64 # your provider fixed the bug, or you get a fix for it, uname -S will
65 # overwrite the system name with the node name!
66 UNIX_SV|UNIX_System_V|`uname -n`)
68 4.0) state=known; ksrc=svr4; makext=svr4;;
69 4.2) state=late; ksrc=svr4; makext=svr4;;
73 if [ -d "$ksrc" ]; then :; else
80 echo "This is an old release of a supported OS ($system)."
81 echo "This software cannot be used as-is on this system,"
82 echo "but you may be able to port it. Good luck!"
85 echo "This is an old release of a supported OS ($system)."
86 echo "This software should install and run on this system,"
87 echo "but it hasn't been tested.";;
89 echo "This is a newer release of $system than is supported by"
90 echo "this software. It may or may not work.";;
92 echo "This software has not been ported to this system. Sorry.";;
94 echo "Support for this system has not been included"
95 echo "in this distribution. Sorry.";;
98 if [ -d "$ksrc" ]; then
99 echo "Creating links to Makefiles."
101 ln -s $ksrc/Makefile.top Makefile
102 echo " Makefile -> $ksrc/Makefile.top"
103 if [ $ksrc = svr4 ]; then
105 ln -s Makefile.$makext $ksrc/Makefile
106 echo " $ksrc/Makefile -> Makefile.$makext"
108 for dir in pppd pppstats chat; do
110 ln -s Makefile.$makext $dir/Makefile
111 echo " $dir/Makefile -> Makefile.$makext"