From Lee:
| commit
6a8ca65e979bf39f16461e13b221ad6768e22b5b
| Author: Lee Howard <faxguy@howardsilvan.com>
| Date: Thu Feb 15 23:36:39 2007 +0000
|
| Utilize tiffcp exit value instead of output in configure check for
| JBIG.
HAVE_JBIGTIFF="/*#define HAVE_JBIGTIFF 1*/"
if [ "$DISABLE_JBIG" != "yes" ]; then
Note "Checking JBIG-in-TIFF conversion support."
- if [ -z "`$TIFFBIN/tiffcp -c g4 misc/jbig.tif misc/foo.tif 2>&1`" ]; then
- $TIFFBIN/tiffcp misc/jbig.tif misc/foo.tif
+ $TIFFBIN/tiffcp -c g4 misc/jbig.tif misc/foo.tif > /dev/null 2>&1
+ if [ $? = 0 ]; then
+ $TIFFBIN/tiffcp misc/jbig.tif misc/foo.tif > /dev/null
if [ -n "`$TIFFBIN/tiffinfo misc/foo.tif | grep 'Fax DCS'`" ]; then
HAVE_JBIGTIFF="#define HAVE_JBIGTIFF 1"
Note "JBIG-in-TIFF conversion support found."