From 3373fe3c7d2ae724acadf3330766692bebdb48b5 Mon Sep 17 00:00:00 2001 From: Fabien Costantini Date: Wed, 12 Nov 2008 17:18:06 +0000 Subject: Removed unnecessary jpeg flag in configure.in. Fixed erroneous jpeg.h by jpeglib.h git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6520 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- configure.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/configure.in b/configure.in index a80f1d5ee..482c0c9e6 100644 --- a/configure.in +++ b/configure.in @@ -543,7 +543,7 @@ sysjpeglib_ok=no sysjpeginc_ok=no if test x$enable_localjpeg != xyes; then AC_CHECK_LIB(jpeg,jpeg_CreateCompress, - [AC_CHECK_HEADER(jpeg.h, + [AC_CHECK_HEADER(jpeglib.h, sysjpeginc_ok=yes) if test x$sysjpeginc_ok = xyes; then sysjpeglib_ok=yes @@ -555,7 +555,7 @@ if test x$enable_localjpeg = xyes -o x$sysjpeglib_ok = xno; then JPEG="jpeg" IMAGELIBS="-lfltk_jpeg $IMAGELIBS" AC_DEFINE(HAVE_LIBJPEG) - ac_cv_lib_jpeg_jpeg_CreateCompress=no # fc: is it still necessary ? + #ac_cv_lib_jpeg_jpeg_CreateCompress=no # from ima: should not be necessary # Finally, warn user if system lib was requested but not found if test x$enable_localjpeg = xno; then AC_MSG_WARN(Cannot find system jpeg lib or header: choosing the local lib mode.) -- cgit v1.2.3