Check for freebsd tiff libs

-Yosh
This commit is contained in:
Manish Singh 1998-04-13 05:35:00 +00:00
parent 13b2894496
commit d7835ce54e
1 changed files with 4 additions and 4 deletions

View File

@ -121,13 +121,13 @@ dnl Test for libtiff
AC_MSG_WARN(*** TIFF plug-in will not be built (TIFF header files not found) ***)),
AC_CHECK_LIB(tiff, TIFFWriteScanline,
AC_CHECK_HEADER(tiffio.h,
TIFF='tiff'; LIBTIFF_LIB='-ltiff -ljpeg',
TIFF='tiff'; LIBTIFF_LIB='-ltiff -ljpeg -lz',
AC_MSG_WARN(*** TIFF plug-in will not be built (TIFF header files not found) ***)),
AC_CHECK_LIB(tiff, TIFFFlushData,
AC_CHECK_LIB(tiff34, TIFFFlushData,
AC_CHECK_HEADER(tiffio.h,
TIFF='tiff'; LIBTIFF_LIB='-ltiff -ljpeg -lz',
TIFF='tiff'; LIBTIFF_LIB='-ltiff34 -ljpeg -lz',
AC_MSG_WARN(*** TIFF plug-in will not be built (TIFF header files not found) ***)),
AC_MSG_WARN(*** TIFF plug-in will not be built (TIFF library not found) ***), -ljpeg -lz -lm), -ljpeg -lm), -lm)
AC_MSG_WARN(*** TIFF plug-in will not be built (TIFF library not found) ***), -ljpeg -lz -lm), -ljpeg -lz -lm), -lm)
fi
dnl Test for libjpeg