POV-Ray : Newsgroups : povray.unix : Some help needed : Re: Some help needed Server Time
13 Jun 2024 19:05:01 EDT (-0400)
  Re: Some help needed  
From: clipka
Date: 21 May 2017 16:54:22
Message: <5921fe7e$1@news.povray.org>
I think what we should do, in a nutshell, is the following:

- Inform the users that they may need the pkg-config package (if they
want to use OpenEXR).

- In the absence of pkg-config, or if pkg-config fails to come up with
any useful information, make a reasonable attempt to determine the
OpenEXR version in another manner, and make a reasonable guess at the
additional compiler and linker flags required (if any).

- Make sure our configure script contains a test to verify that the
OpenEXR library can be linked using the chosen compiler and linker flags.

I also wonder whether we should make our handling of libraries more
consistent, and make use of pkg-config for other libraries as well where

As a side note, I noticed that the automake tools apparently provide
dedicated macros to make use of pkg-config; those might be worth a
closer look, even if in the end we decide against them (their use seems
to be controversial due to some known issues, so if we decide to use
them nonetheless, we should clearly document those issues).

Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.