Commit 3b3cc4a4 authored by Ken Raeburn's avatar Ken Raeburn

include -lz and -ljpeg when testing for -ltiff

parent e3d4de90
2000-02-17 Ken Raeburn <raeburn@gnu.org>
* configure.in: Include -lz and -ljpeg (if it's available) when
testing for the tiff library.
2000-02-17 Gerd Moellmann <gerd@gnu.org>
* configure.in: Remove LISP_FLOAT_TYPE.
......
This diff is collapsed.
......@@ -1740,7 +1740,10 @@ if test "${HAVE_X11}" = "yes"; then
old_c_flags="${CFLAGS}"
CFLAGS="${LD_SWITCH_X_SITE} ${CFLAGS}"
AC_CHECK_HEADER(tiffio.h,
AC_CHECK_LIB(tiff, TIFFGetVersion, HAVE_TIFF=yes, , -lX11 -lm))
tifflibs="-lX11 -lz -lm"
# At least one tiff package requires the jpeg library.
if test "${HAVE_JPEG}" = yes; then tifflibs="-ljpeg $tifflibs"; fi
AC_CHECK_LIB(tiff, TIFFGetVersion, HAVE_TIFF=yes, , $tifflibs))
CFLAGS="${old_c_flags}"
fi
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment