When compiling without GUI (using -DWITHOUT_X11), the jpeg library
is still required when it isn't actually needed. This patch removes
the check that the configure script is making.
Notes to committer, this adds "files/patch-configure.ac".
Look into this too