2 # $Id: configure,v 1.18 1999/09/13 20:57:53 masputra 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.[1-6]*) state="known"; ksrc="svr4"; makext="sol2";;
28 5.[789]*) state="known"; ksrc="svr4"; makext="sol2"; lp64="y";
33 [0-3]*) state="ancient";;
34 4.[01]*) state="early"; ksrc="ultrix";;
35 4.[234]) state="known"; ksrc="ultrix";;
40 V1.*) state="neolithic"; ksrc="osf1";;
41 V[23].*) state="neolithic"; ksrc="osf1";;
42 V4.*) state="known"; ksrc="osf1";;
43 V[5-9]*) state="late"; ksrc="osf1";;
52 1.*) state="known"; ksrc="freebsd-old";;
53 2.[01]*) state="known"; ksrc="freebsd-2.0";;
54 2.2.[2-7]*) state="late"; ksrc="freebsd-2.0";;
55 2.2.8*) state="known"; ksrc="freebsd-2.2.8";;
56 3.[0-1]*) state="known"; ksrc="freebsd-3.0";;
64 5.4[01]) state=known; ksrc=svr4; makext=svr4;;
65 5.4[2-9]) state=late; ksrc=svr4; makext=svr4;;
67 # Intel SVR4 systems come with a bug in the uname program. Unless
68 # your provider fixed the bug, or you get a fix for it, uname -S will
69 # overwrite the system name with the node name!
70 UNIX_SV|UNIX_System_V|`uname -n`)
72 4.0) state=known; ksrc=svr4; makext=svr4;;
73 4.2) state=late; ksrc=svr4; makext=svr4;;
77 if [ -d "$ksrc" ]; then :; else
84 echo "This is a newer release on an outdated OS ($system)."
85 echo " This software may or may not work on this OS."
86 echo " You may want to download an older version of PPP for this OS.";;
88 echo "This is an old release of a supported OS ($system)."
89 echo "This software cannot be used as-is on this system,"
90 echo "but you may be able to port it. Good luck!"
93 echo "This is an old release of a supported OS ($system)."
94 echo "This software should install and run on this system,"
95 echo "but it hasn't been tested.";;
97 echo "This is a newer release of $system than is supported by"
98 echo "this software. It may or may not work.";;
100 echo "This software has not been ported to this system. Sorry.";;
102 echo "Support for this system has not been included"
103 echo "in this distribution. Sorry.";;
108 if [ -d "$ksrc" ]; then
109 echo "Creating links to Makefiles."
111 ln -s $ksrc/Makefile.top Makefile
112 echo " Makefile -> $ksrc/Makefile.top"
113 if [ $ksrc = svr4 ]; then
114 # Point to 64-bit Makefile extension
115 if [ $lp64 = y ]; then
119 ln -s Makefile.$makext $ksrc/Makefile
120 echo " $ksrc/Makefile -> Makefile.$makext"
122 if [ $lp64 = y ]; then
126 for dir in pppd pppstats chat pppdump; do
128 if [ -f $dir/Makefile.$makext ]; then
129 ln -s Makefile.$makext $dir/Makefile
130 echo " $dir/Makefile -> Makefile.$makext"