libtiff/dist/newalpha
Mike Welles 9ec07df122 * Fixed apocalypse-inducing y2k bug in contrib/ras/ras2tiff.c
*  Did some casts cleaning up to reduce compiler warnings in tif_fax3.c,
	   from Bruce Carmeron <cameron@petris.com> -- modifications of
	   changes made by Frank (sun cc still complained on cast).

	*  Added tiffconf.h to install target per request from Bill
	   Radcliffe <billr@corbis.com>: "We need a way for ImageMagick to
 	   know features have been compiled into the TIFF library in order to
	   handle things properly".
1999-11-28 20:15:36 +00:00

9 lines
309 B
Bash
Executable File

#! /bin/sh
# $Header: /cvs/maptools/cvsroot/libtiff/dist/Attic/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