Commit a0f23636 authored by Reinhard Prix's avatar Reinhard Prix

put proper check for libjpeg and jpeglib.h if building graphics-API (used in gutil.[Ch])

svn path=/trunk/boinc/; revision=8657
parent de9b33e7
......@@ -347,7 +347,7 @@ of the BOINC application API library.
==> only building non-graphical parts of the BOINC API Library for now.
NOTE: on MacOS X/Darwin you might consider running configure withe the option
HINT: on MacOS X/Darwin you might consider running configure with the option
'./configure --with-apple-opengl-framework'
in order to use the Mac-native openGL framework
......@@ -359,6 +359,25 @@ else
AC_CHECK_HEADERS([gl.h glu.h glut.h glaux.h GL/gl.h GL/glu.h GL/glut.h GL/glaux.h OpenGL/gl.h OpenGL/glu.h OpenGL/glut.h OpenGL/glaux.h GLUT/glut.h MesaGL/gl.h MesaGL/glu.h MesaGL/glut.h MesaGL/glaux.h])
AC_CHECK_LIB([jpeg], [jpeg_start_compress],[have_jpeg=1],[have_jpeg=0])
if test "$have_jpeg" != 1 ; then
WARNING: libjpeg.a/jpeglib.h not found.
BOINC's openGL graphics-API needs libjpeg !
==> I will continue building the non-graphical parts of the BOINC API library.
HINT: on MacOSX/Darwin these libs/includes are sometimes found in '/sw/' (if using fink)
or '/opt/local' (if using port).
AM_CONDITIONAL(BUILD_GRAPHICS_API, [ test "$have_glut" = yes ])
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