Subject: Re: bug#20124: Building emacs and libjpeg not found on Fedora 22

From: Eli Zaretskii <[email-masked]>
Date: Tue, 17 Mar 2015 14:37:20 +0200

> Date: Tue, 17 Mar 2015 12:35:23 +0100
> From: Petr Hracek <[email-masked]>
> CC: [email-masked]
> 
> configure:13903: $? = 0
> configure:13912: result: yes
> *configure:13937: WARNING: libjpeg found, but not version 6b or later*
                             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Isn't the above self-explanatory?

the configure script looks at the value of JPEG_LIB_VERSION it finds
in jpeglib.h header file, so I'm guessing either your libjpeg
installation is too old, or you have an old jpeglib.h header somewhere
where the compiler picks it ahead of the correct one.