Re: Fail configure when libjpeg not found

Bob Friesenhahn <[email protected]>
Newsgroups gmane.comp.video.graphicsmagick.help
Message-ID <[email protected]>
On Tue, 7 Aug 2018, Przemysław Sobala wrote:

> Hello
> Is there a way to get configure script failed while running with
> "--with-jpeg" with libjpeg not present on the system? Right now it only
> outputs:
>
> Option            Configure option              Configured value
> -----------------------------------------------------------------
>
> JPEG v1           --with-jpeg=yes               no
>
> and exits with code: 0

I am not aware of a way to specify that an option is required.  The 
configure script operates in a "best effort" manner.  The final 
results are stored in the generated 'config.status' script and 
'magick/magick_config.h'.

One could grep for '#define HasJPEG 1' in 'magick/magick_config.h' to 
verify that JPEG is supported.

Bob
-- 
Bob Friesenhahn
[email protected], http://www.simplesystems.org/users/bfriesen/
GraphicsMagick Maintainer,    http://www.GraphicsMagick.org/

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot

_______________________________________________
Graphicsmagick-help mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/graphicsmagick-help
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.