The (attached) patch will throw an error if jpeglib and glib tools (glib-genmarshal and glib-mkenums) are not available.
Created attachment 19782 [details] improve detection of jpeglib and glib tools
*** Bug 18396 has been marked as a duplicate of this bug. ***
Comment on attachment 19782 [details] improve detection of jpeglib and glib tools r=me, will clear up the grammar a bit before landing.
Landed in r32008.
This worked on my system but failed on the build bot, so backing out the jpeg check. checking pthread.h usability... yes checking pthread.h presence... yes checking for pthread.h... yes checking jpeglib.h usability... no checking jpeglib.h presence... no checking for jpeglib.h... no configure: error: libjpeg is required to build WebKit
Hi Alp Is jpeglib installed in a non-standard location?
Comment on attachment 19782 [details] improve detection of jpeglib and glib tools Clearing review flag as this was rolled out.
Perhaps something like AC_CHECK_LIB(jpeg, jpeg_destroy_decompress, ...) makes more sense? That's what GTK+ checks for by default as well, afaics.
Created attachment 22493 [details] updated: copy the way gtk detects jpeglib
Comment on attachment 22493 [details] updated: copy the way gtk detects jpeglib r=me
landed in r35398