2 # $Id: configure,v 1.1.1.4 2003/10/14 08:09:52 sparq Exp $
4 # if [ -d /NextApps ]; then
21 # [0-3]*) state="ancient";;
22 # 4*) state="known"; ksrc="sunos4"; makext="sunos4";;
23 5.
[1-6]*) state
="known"; ksrc
="solaris"; makext
="sol2";;
24 5.
[7-9]*) state
="known"; ksrc
="solaris"; makext
="sol2";
30 NetBSD|FreeBSD|ULTRIX|OSF1|NeXTStep|SINIX-?|UNIX_SV|UNIX_System_V
)
35 # 0.*) state="ancient";;
36 # 1.0*) state="ancient";;
37 # 1.1*) state="known"; ksrc="netbsd-1.1";;
38 # 1.2*) state="known"; ksrc="netbsd-1.2"; makext="netbsd-1.2";;
40 # state="late"; ksrc="netbsd-1.2";;
45 # [0-3]*) state="ancient";;
46 # 4.[01]*) state="early"; ksrc="ultrix";;
47 # 4.[234]) state="known"; ksrc="ultrix";;
52 # V1.*) state="neolithic"; ksrc="osf1";;
53 # V[23].*) state="neolithic"; ksrc="osf1";;
54 # V4.*) state="known"; ksrc="osf1";;
55 # V[5-9]*) state="late"; ksrc="osf1";;
60 # 1.*) state="known"; ksrc="freebsd-old";;
61 # 2.[01]*) state="known"; ksrc="freebsd-2.0";;
62 # 2.2.[2-7]*) state="late"; ksrc="freebsd-2.0";;
63 # 2.2.8*) state="known"; ksrc="freebsd-2.2.8";;
64 # 3.[0-1]*) state="known"; ksrc="freebsd-3.0";;
72 # 5.4[01]) state=known; ksrc=svr4; makext=svr4;;
73 # 5.4[2-9]) state=late; ksrc=svr4; makext=svr4;;
75 # # Intel SVR4 systems come with a bug in the uname program. Unless
76 # # your provider fixed the bug, or you get a fix for it, uname -S will
77 # # overwrite the system name with the node name!
78 # UNIX_SV|UNIX_System_V|`uname -n`)
80 # 4.0) state=known; ksrc=svr4; makext=svr4;;
81 # 4.2) state=late; ksrc=svr4; makext=svr4;;
85 if [ -d "$ksrc" ]; then :; else
92 echo "This is a newer release on an outdated OS ($system)."
93 echo " This software may or may not work on this OS."
94 echo " You may want to download an older version of PPP for this OS.";;
96 echo "This is an old release of a supported OS ($system)."
97 echo "This software cannot be used as-is on this system,"
98 echo "but you may be able to port it. Good luck!"
101 echo "This is an old release of a supported OS ($system)."
102 echo "This software should install and run on this system,"
103 echo "but it hasn't been tested.";;
105 echo "This is a newer release of $system than is supported by"
106 echo "this software. It may or may not work.";;
108 echo "This software has not been ported to this system. Sorry.";;
110 echo "Support for this system has not been included"
111 echo "in this distribution. Sorry.";;
116 if [ -d "$ksrc" ]; then
117 echo "Creating links to Makefiles."
119 ln -s $ksrc/Makefile.top Makefile
120 echo " Makefile -> $ksrc/Makefile.top"
121 if [ "$ksrc" = solaris
]; then
122 # Point to 64-bit Makefile extension
123 if [ "$lp64" = y
]; then
127 ln -s Makefile.
$makext $ksrc/Makefile
128 echo " $ksrc/Makefile -> Makefile.$makext"
130 if [ "$lp64" = y
]; then
134 for dir
in pppd pppstats chat pppdump pppd
/plugins pppd
/plugins
/pppoe
; do
136 if [ -f $dir/Makefile.
$makext ]; then
137 ln -s Makefile.
$makext $dir/Makefile
138 echo " $dir/Makefile -> Makefile.$makext"