#!/bin/sh
-# $Id: configure,v 1.11 1996/09/26 06:15:36 paulus Exp $
+# $Id: configure,v 1.15 1999/04/01 11:48:30 paulus Exp $
if [ -d /NextApps ]; then
system="NeXTStep"
makext="bsd";
case $release in
0.*) state="ancient";;
- 1.0*) state="known"; ksrc="netbsd-1.0";;
+ 1.0*) state="ancient";;
1.1*) state="known"; ksrc="netbsd-1.1";;
- 1.[2-9]*|[2-9]*)
- state="late"; ksrc="netbsd-1.1";;
+ 1.2*) state="known"; ksrc="netbsd-1.2"; makext="netbsd-1.2";;
+ 1.[3-9]*|[2-9]*)
+ state="late"; ksrc="netbsd-1.2";;
esac;;
SunOS)
case $release in
makext="bsd";
case $release in
1.*) state="known"; ksrc="freebsd-old";;
- 2.0*) state="known"; ksrc="freebsd-2.0";;
- 2.[1-9]*) state="late"; ksrc="freebsd-2.0";;
+ 2.[01]*) state="known"; ksrc="freebsd-2.0";;
+ 2.[2-9]*) state="late"; ksrc="freebsd-2.0";;
esac;;
NeXTStep)
makext="NeXT";
echo "This software should install and run on this system,"
echo "but it hasn't been tested.";;
late)
- echo "This is a newer release of $system than was available when"
- echo "this software was released. It may or may not work.";;
+ echo "This is a newer release of $system than is supported by"
+ echo "this software. It may or may not work.";;
unknown)
echo "This software has not been ported to this system. Sorry.";;
notincluded)
ln -s Makefile.$makext $ksrc/Makefile
echo " $ksrc/Makefile -> Makefile.$makext"
fi
- for dir in pppd pppstats chat; do
+ for dir in pppd pppstats chat pppdump; do
rm -f $dir/Makefile
- ln -s Makefile.$makext $dir/Makefile
- echo " $dir/Makefile -> Makefile.$makext"
+ if [ -f $dir/Makefile.$makext ]; then
+ ln -s Makefile.$makext $dir/Makefile
+ echo " $dir/Makefile -> Makefile.$makext"
+ fi
done
fi