2 # $Id: configure,v 1.16 1999/04/27 22:18:39 varadhan 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="neolithic"; ksrc="osf1";;
40 V[23].*) state="neolithic"; ksrc="osf1";;
41 V4.*) state="known"; ksrc="osf1";;
42 V[5-9]*) state="late"; ksrc="osf1";;
51 1.*) state="known"; ksrc="freebsd-old";;
52 2.[01]*) state="known"; ksrc="freebsd-2.0";;
53 2.[2-9]*) state="late"; ksrc="freebsd-2.0";;
61 5.4[01]) state=known; ksrc=svr4; makext=svr4;;
62 5.4[2-9]) state=late; ksrc=svr4; makext=svr4;;
64 # Intel SVR4 systems come with a bug in the uname program. Unless
65 # your provider fixed the bug, or you get a fix for it, uname -S will
66 # overwrite the system name with the node name!
67 UNIX_SV|UNIX_System_V|`uname -n`)
69 4.0) state=known; ksrc=svr4; makext=svr4;;
70 4.2) state=late; ksrc=svr4; makext=svr4;;
74 if [ -d "$ksrc" ]; then :; else
81 echo "This is a newer release on an outdated OS ($system)."
82 echo " This software may or may not work on this OS."
83 echo " You may want to download an older version of PPP for this OS.";;
85 echo "This is an old release of a supported OS ($system)."
86 echo "This software cannot be used as-is on this system,"
87 echo "but you may be able to port it. Good luck!"
90 echo "This is an old release of a supported OS ($system)."
91 echo "This software should install and run on this system,"
92 echo "but it hasn't been tested.";;
94 echo "This is a newer release of $system than is supported by"
95 echo "this software. It may or may not work.";;
97 echo "This software has not been ported to this system. Sorry.";;
99 echo "Support for this system has not been included"
100 echo "in this distribution. Sorry.";;
103 if [ -d "$ksrc" ]; then
104 echo "Creating links to Makefiles."
106 ln -s $ksrc/Makefile.top Makefile
107 echo " Makefile -> $ksrc/Makefile.top"
108 if [ $ksrc = svr4 ]; then
110 ln -s Makefile.$makext $ksrc/Makefile
111 echo " $ksrc/Makefile -> Makefile.$makext"
113 for dir in pppd pppstats chat pppdump; do
115 if [ -f $dir/Makefile.$makext ]; then
116 ln -s Makefile.$makext $dir/Makefile
117 echo " $dir/Makefile -> Makefile.$makext"