2 # $Id: configure,v 1.4 1995/10/27 03:25:40 paulus Exp $
4 if [ -d /NextApps ]; then
16 0.*) state="ancient";;
17 1.0*) state="known"; ksrc="netbsd";;
19 state="late"; ksrc="netbsd";;
23 [0-3]*) state="ancient";;
24 4*) state="known"; ksrc="sunos"; makext="sun";;
25 5*) state="known"; ksrc="svr4"; makext="sol2";;
30 [0-3]*) state="ancient";;
31 4.[01]*) state="early"; ksrc="ultrix";;
32 4.[234]) state="known"; ksrc="ultrix";;
37 case $version.$release in
38 4.1) state="known"; ksrc="aix4";;
39 4.[2-9]*) state="late"; ksrc="aix4";;
44 V[23].*) state="known"; ksrc="osf1";;
45 V[4-9]*) state="late"; ksrc="osf1";;
54 2.0*) state="known"; ksrc="freebsd-2.0";;
55 2.[1-9]*) state="late"; ksrc="freebsd-2.0";;
61 # Intel SVR4 systems come with a bug in the uname program. Unless
62 # your provider fixed the bug, or you get a fix for it, uname -S will
63 # overwrite the system name with the node name!
64 UNIX_System_V|`uname -n`)
66 4.0) state=known; ksrc=svr4; makext=svr4;;
67 4.2) state=late; ksrc=svr4; makext=svr4;;
73 echo "This is an old release of a supported OS ($system)."
74 echo "This software cannot be used as-is on this system,"
75 echo "but you may be able to port it. Good luck!"
78 echo "This is an old release of a supported OS ($system)."
79 echo "This software should install and run on this system,"
80 echo "but it hasn't been tested.";;
82 echo "This is a newer release of $system than was available when"
83 echo "this software was released. It may or may not work.";;
85 echo "This software has not been ported to this system. Sorry.";;
89 echo "Creating links to Makefiles."
91 ln -s $ksrc/Makefile.top Makefile
92 echo " Makefile -> $ksrc/Makefile.top"
93 if [ $ksrc = svr4 ]; then
95 ln -s Makefile.$makext $ksrc/Makefile
96 echo " $ksrc/Makefile -> Makefile.$makext"
98 for dir in pppd pppstats chat; do
100 ln -s Makefile.$makext $dir/Makefile
101 echo " $dir/Makefile -> Makefile.$makext"