--- gimp-2.4.2/configure.in	2007-11-20 10:33:50.000000000 +0100
+++ gimp-2.4.2-patch/configure.in	2008-01-06 01:17:38.000000000 +0100
@@ -1003,6 +1003,8 @@
 # Check for libjpeg
 ###################
 
+jpeg_ok=no
+
 AC_ARG_WITH(libjpeg,  [  --without-libjpeg       build without JPEG support])
   if test "x$with_libjpeg" != xno && test -z "$LIBJPEG"; then
     AC_CHECK_LIB(jpeg, jpeg_destroy_decompress,
