#! /bin/sh
#	$Header: /cvsroot/osrs/libtiff/dist/newalpha,v 1.2 1999/11/28 20:15:36 mwelles Exp $
if test -r tiff.alpha; then
    ALPHA=`cat tiff.alpha`; rm -f tiff.alpha
    echo "$ALPHA" | awk '{ printf "define ALPHA %1d\n", $3+1}' > tiff.alpha
else
    echo "define ALPHA 001" >tiff.alpha
fi
