2 # $Id: configure,v 1.23 1999/11/15 01:56:26 paulus Exp $
4 if [ -d /NextApps ]; then
18 0.*) state="ancient";;
19 1.0*) state="ancient";;
20 1.1*) state="known"; ksrc="netbsd-1.1";;
21 1.2*) state="known"; ksrc="netbsd-1.2"; makext="netbsd-1.2";;
23 state="late"; ksrc="netbsd-1.2";;
27 [0-3]*) state="ancient";;
28 4*) state="known"; ksrc="sunos4"; makext="sunos4";;
29 5.[1-6]*) state="known"; ksrc="svr4"; makext="sol2";;
30 5.[789]*) state="known"; ksrc="svr4"; makext="sol2";
39 [0-3]*) state="ancient";;
40 4.[01]*) state="early"; ksrc="ultrix";;
41 4.[234]) state="known"; ksrc="ultrix";;
46 V1.*) state="neolithic"; ksrc="osf1";;
47 V[23].*) state="neolithic"; ksrc="osf1";;
48 V4.*) state="known"; ksrc="osf1";;
49 V[5-9]*) state="late"; ksrc="osf1";;
58 1.*) state="known"; ksrc="freebsd-old";;
59 2.[01]*) state="known"; ksrc="freebsd-2.0";;
60 2.2.[2-7]*) state="late"; ksrc="freebsd-2.0";;
61 2.2.8*) state="known"; ksrc="freebsd-2.2.8";;
62 3.[0-1]*) state="known"; ksrc="freebsd-3.0";;
70 5.4[01]) state=known; ksrc=svr4; makext=svr4;;
71 5.4[2-9]) state=late; ksrc=svr4; makext=svr4;;
73 # Intel SVR4 systems come with a bug in the uname program. Unless
74 # your provider fixed the bug, or you get a fix for it, uname -S will
75 # overwrite the system name with the node name!
76 UNIX_SV|UNIX_System_V|`uname -n`)
78 4.0) state=known; ksrc=svr4; makext=svr4;;
79 4.2) state=late; ksrc=svr4; makext=svr4;;
83 if [ -d "$ksrc" ]; then :; else
90 echo "This is a newer release on an outdated OS ($system)."
91 echo " This software may or may not work on this OS."
92 echo " You may want to download an older version of PPP for this OS.";;
94 echo "This is an old release of a supported OS ($system)."
95 echo "This software cannot be used as-is on this system,"
96 echo "but you may be able to port it. Good luck!"
99 echo "This is an old release of a supported OS ($system)."
100 echo "This software should install and run on this system,"
101 echo "but it hasn't been tested.";;
103 echo "This is a newer release of $system than is supported by"
104 echo "this software. It may or may not work.";;
106 echo "This software has not been ported to this system. Sorry.";;
108 echo "Support for this system has not been included"
109 echo "in this distribution. Sorry.";;
114 if [ -d "$ksrc" ]; then
115 echo "Creating links to Makefiles."
117 ln -s $ksrc/Makefile.top Makefile
118 echo " Makefile -> $ksrc/Makefile.top"
119 if [ "$ksrc" = svr4 ]; then
120 # Point to 64-bit Makefile extension
121 if [ "$lp64" = y ]; then
125 ln -s Makefile.$makext $ksrc/Makefile
126 echo " $ksrc/Makefile -> Makefile.$makext"
128 if [ "$lp64" = y ]; then
132 for dir in pppd pppstats chat pppdump; do
134 if [ -f $dir/Makefile.$makext ]; then
135 ln -s Makefile.$makext $dir/Makefile
136 echo " $dir/Makefile -> Makefile.$makext"