2 # $Id: configure,v 1.8 1996/05/24 07:03:01 paulus Exp $
4 if [ -d /NextApps ]; then
16 0.*) state="ancient";;
17 1.0*) state="known"; ksrc="netbsd-1.0";;
18 1.1*) state="known"; ksrc="netbsd-1.1";;
20 state="late"; ksrc="netbsd-1.1";;
24 [0-3]*) state="ancient";;
25 4*) state="known"; ksrc="sunos4"; makext="sunos4";;
26 5*) state="known"; ksrc="svr4"; makext="sol2";;
31 [0-3]*) state="ancient";;
32 4.[01]*) state="early"; ksrc="ultrix";;
33 4.[234]) state="known"; ksrc="ultrix";;
38 V[23].*) state="known"; ksrc="osf1";;
39 V[4-9]*) state="late"; ksrc="osf1";;
48 1.*) state="known"; ksrc="freebsd-old";;
49 2.0*) state="known"; ksrc="freebsd-2.0";;
50 2.[1-9]*) state="late"; ksrc="freebsd-2.0";;
56 # Intel SVR4 systems come with a bug in the uname program. Unless
57 # your provider fixed the bug, or you get a fix for it, uname -S will
58 # overwrite the system name with the node name!
59 UNIX_System_V|`uname -n`)
61 4.0) state=known; ksrc=svr4; makext=svr4;;
62 4.2) state=late; ksrc=svr4; makext=svr4;;
68 echo "This is an old release of a supported OS ($system)."
69 echo "This software cannot be used as-is on this system,"
70 echo "but you may be able to port it. Good luck!"
73 echo "This is an old release of a supported OS ($system)."
74 echo "This software should install and run on this system,"
75 echo "but it hasn't been tested.";;
77 echo "This is a newer release of $system than was available when"
78 echo "this software was released. It may or may not work.";;
80 echo "This software has not been ported to this system. Sorry.";;
84 echo "Creating links to Makefiles."
86 ln -s $ksrc/Makefile.top Makefile
87 echo " Makefile -> $ksrc/Makefile.top"
88 if [ $ksrc = svr4 ]; then
90 ln -s Makefile.$makext $ksrc/Makefile
91 echo " $ksrc/Makefile -> Makefile.$makext"
93 for dir in pppd pppstats chat; do
95 ln -s Makefile.$makext $dir/Makefile
96 echo " $dir/Makefile -> Makefile.$makext"