I finally setup mingw and msys and now I want to compile libjpeg. I downloaded the latest libjpeg sources from the projekt page (jpeg-8d) and extracted the files.
Th
If for some reason you can not run
$ autoheader
Add the following definition to the jconfig.h
#define HAVE_PROTOTYPES 1