--- configure.orig 2009-10-23 18:17:24.000000000 +0000
+++ configure
@@ -21369,6 +21369,7 @@ if test "x$ac_cv_lib_jpeg_jpeg_read_head
#define HAVE_LIBJPEG 1
_ACEOF
+ have_jpeg="yes"
LIBS="-ljpeg $LIBS"
else