X-Git-Url: https://git.ozlabs.org/?p=ppp.git;a=blobdiff_plain;f=configure;h=c6135583e26c447cddc10922ab80b71cee38c0d5;hp=94de1450b46e1e6901d6bb7abc30a0a051ce5e09;hb=1707ae587c89bb038a218d64880dd8ba1bac67bc;hpb=61104a18d85e0c167fa38c964eab119a0dd5567e;ds=inline diff --git a/configure b/configure index 94de145..c613558 100755 --- a/configure +++ b/configure @@ -1,5 +1,5 @@ #!/bin/sh -# $Id: configure,v 1.6 1995/12/11 05:01:37 paulus Exp $ +# $Id: configure,v 1.9 1996/06/26 00:50:31 paulus Exp $ if [ -d /NextApps ]; then system="NeXTStep" @@ -22,7 +22,7 @@ case $system in SunOS) case $release in [0-3]*) state="ancient";; - 4*) state="known"; ksrc="sunos"; makext="sun";; + 4*) state="known"; ksrc="sunos4"; makext="sunos4";; 5*) state="known"; ksrc="svr4"; makext="sol2";; esac;; ULTRIX) @@ -32,16 +32,10 @@ case $system in 4.[01]*) state="early"; ksrc="ultrix";; 4.[234]) state="known"; ksrc="ultrix";; esac;; - AIX) - makext="aix4"; - version=`uname -v` - case $version.$release in - 4.1) state="known"; ksrc="aix4";; - 4.[2-9]*) state="late"; ksrc="aix4";; - esac;; OSF1) makext="osf"; case $release in + V1.*) state="ancient"; ksrc="osf1";; V[23].*) state="known"; ksrc="osf1";; V[4-9]*) state="late"; ksrc="osf1";; esac;; @@ -70,6 +64,11 @@ case $system in esac;; esac +if [ -d $ksrc ]; then :; else + state="notincluded" + unset ksrc +fi + case $state in ancient) echo "This is an old release of a supported OS ($system)." @@ -85,9 +84,12 @@ case $state in echo "this software was released. It may or may not work.";; unknown) echo "This software has not been ported to this system. Sorry.";; + notincluded) + echo "Support for this system has not been included" + echo "in this distribution. Sorry.";; esac -if [ $ksrc ]; then +if [ "$ksrc" ]; then echo "Creating links to Makefiles." rm -f Makefile ln -s $ksrc/Makefile.top Makefile