Re: Nonstandard dependency installation directories

Bob Friesenhahn <[email protected]>
Newsgroups gmane.comp.video.graphicsmagick.help
Message-ID <[email protected]>
On Mon, 2 Oct 2017, Marvin Gülker wrote:
>> In order to find dependency headers and libraries, you should use the
>> CPPFLAGS and LDFLAGS arguments to configure.
>
> I tried and it works. I work with a mostly clean MSYS2/MinGW environment
> (only compiler toolchain installed) so that the potential for conflict
> with the libraries in the MinGW tree is minimised. I guess that if the
> environment wouldn't be that clean and the libraries would show up both
> in the MinGW directory tree and my custom tree, the configure script
> would detect the ones in the MinGW tree since with CPPFLAGS and LDFLAGS
> to my knowledge I can append to the compiler search path, but not
> prepend to it. I have seen other projects provide flags like
> --with-<dependency>=DIR to explicitely override what configure detects
> for (I guess) specifically this conflict situation.

This is not the case for GraphicsMagick.  Instead the user-provided 
values are placed where they have the most effect.  The user is always 
in control.  The approach the other projects provide looks nice but 
does not assure that the user is in control since the user has no 
control over ordering.

Many of my GraphicsMagick builds use the overrides in order to avoid 
OS-provided libraries while using ones that I hand-built.  This means 
that it is tested continually.

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.