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

From: Glenn Morris <[email-masked]>
Date: Wed, 18 Mar 2015 02:48:04 -0400

IMO the suggestion from http://debbugs.gnu.org/18552#14 is simpler:

echo -e "#include <jpeglib.h>\nversion=JPEG_LIB_VERSION" | cpp | grep version=