From 6fe529425714c74fced62355470d692b73d610ba Mon Sep 17 00:00:00 2001 From: Artem Pavlenko Date: Tue, 29 Mar 2005 19:17:18 +0000 Subject: [PATCH] added checks for libpng and libjpeg --- configure.ac | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index 9c00fe535..629459733 100644 --- a/configure.ac +++ b/configure.ac @@ -23,13 +23,15 @@ AC_HEADER_STDC # Checks for libraries. AC_CHECK_LIB(m,floor) - +AC_CHECK_LIB(png,png_read_info) +AC_CHECK_LIB(jpeg,jpeg_read_header) AC_C_BIGENDIAN # Checks for header files. AC_HEADER_DIRENT AC_HEADER_STDC AC_CHECK_HEADERS([string.h sys/time.h unistd.h]) AC_CHECK_HEADER(png.h,,AC_MSG_ERROR(install png-devel)) +AC_CHECK_HEADER(jpeglib.h,,AC_MSG_ERROR(install jpeg-devel)) # Checks for typedefs, structures, and compiler characteristics. AC_HEADER_STDBOOL