Skip to content
Snippets Groups Projects
Commit 0806da40 authored by Mirar (Pontus Hagland)'s avatar Mirar (Pontus Hagland)
Browse files

test for jpeg_create_compress, since it didn't exist in jpeg-6 (prior to jpeg-6a)

Rev: src/modules/_Image_JPEG/configure.in:1.5
parent 75368bbb
Branches
Tags
No related merge requests found
# #
# $Id: configure.in,v 1.4 1998/09/20 08:33:00 hubbe Exp $ # $Id: configure.in,v 1.5 1999/05/28 13:41:08 mirar Exp $
# #
AC_INIT(image_jpeg.c) AC_INIT(image_jpeg.c)
AC_CONFIG_HEADER(config.h) AC_CONFIG_HEADER(config.h)
...@@ -10,11 +10,10 @@ AC_MODULE_INIT() ...@@ -10,11 +10,10 @@ AC_MODULE_INIT()
if test x$with_jpeglib = xyes ; then if test x$with_jpeglib = xyes ; then
AC_CHECK_HEADERS(jpeglib.h) AC_CHECK_HEADERS(jpeglib.h)
if test $ac_cv_header_jpeglib_h = yes ; then if test $ac_cv_header_jpeglib_h = yes ; then
AC_CHECK_LIB(jpeg, jpeg_destroy, [ AC_CHECK_LIB(jpeg, jpeg_create_compress, [
AC_DEFINE(HAVE_LIBJPEG) AC_DEFINE(HAVE_LIBJPEG)
LIBS="${LIBS-} -ljpeg" LIBS="${LIBS-} -ljpeg"
], ])
AC_CHECK_LIB(jpeg, jpeg_destroy))
fi fi
fi fi
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment