Skip to content

Commit

Permalink
Removed unnecessary jpeg flag in configure.in. Fixed erroneous jpeg.h…
Browse files Browse the repository at this point in the history
… by jpeglib.h

git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6520 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
  • Loading branch information
fab672000 committed Nov 12, 2008
1 parent e458232 commit 3373fe3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions configure.in
Expand Up @@ -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
Expand All @@ -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.)
Expand Down

0 comments on commit 3373fe3

Please sign in to comment.