Index: branches/rel10_ifa/psModules/configure.ac
===================================================================
--- branches/rel10_ifa/psModules/configure.ac	(revision 6563)
+++ branches/rel10_ifa/psModules/configure.ac	(revision 6565)
@@ -81,4 +81,8 @@
 AM_CONDITIONAL(DOXYGEN, test x$doxygen = xtrue)
 
+dnl libjpeg -------------------------------------------------------------------
+
+AC_CHECK_LIB(jpeg,jpeg_CreateCompress,[],[AC_MSG_ERROR([jpeg library not found.])])
+
 dnl pslib ---------------------------------------------------------------------
 AC_ARG_WITH(pslib-config,
