3 # create constants to figure out which version of Digital UNIX
4 # (or DEC OSF/1) we're building ppp for
6 FULL_VERSION
=`uname -r`
7 MAJOR_VERSION
=`echo $FULL_VERSION | cut -d. -f1 | cut -dV -f2`
8 MINOR_VERSION
=`echo $FULL_VERSION | cut -d. -f2`
11 cat >ppp_osf.h
<<XYZZY
12 /* Definitions for the exact version of Digital UNIX
13 * (aka DEC OSF/1) we're building PPP for.
15 * This file is automatically generated. DO NOT EDIT!
20 echo "#define FULL_VERSION \"$FULL_VERSION\"" >>ppp_osf.h
21 echo "#define MAJOR_VERSION $MAJOR_VERSION" >>ppp_osf.h
22 echo "#define MINOR_VERSION $MINOR_VERSION" >>ppp_osf.h
23 echo "#define REVISION $REVISION" >>ppp_osf.h