|
|
On 2/18/21 8:39 AM Manolo wrote:
On Wednesday, February 17, 2021 at 10:18:45 PM UTC+1 Albrecht Schlosser
wrote:
This means: this strategy *would* work if someone didn't have
pkg-config *and* set the correct CFLAGS/CXXFLAGS/LDFLAGS
for their system. ...
We could do something similar for the detection of xft/freetype, i.e.
not abort the configure job but continue anyway if pkg-config is not
available. Again, the user would have to provide the correct flags in
CFLAGS/CXXFLAGS/LDFLAGS instead.
That said, configure would still abort if it didn't *find* the libs,
but you wouldn't have to install pkg-config ...
Alternative proposal:
configure still aborts in that case but gives a richer warning message:
Please install pkg-config, or set CXXFLAGS/LDFLAGS adequately for XFT,
or use 'configure --disable-xft'.
Yes, indeed, I wasn't sure about the best warning/error messages. This
could be improved and eventually unified for all these pkg-config vs.
*FLAGS cases.
BTW: we're also using pkg-config for the detection of Cairo libs. We
could take a similar approach for this as well.
Definitely yes.
Yep, this is a long standing issue.
I'm putting this on my todo list but this can take a while, I'm too busy
with other stuff. However, if anybody else volunteers ... please drop a
note here.
--
You received this message because you are subscribed to the Google Groups "fltk.coredev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to fltkcoredev+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/fltkcoredev/2a6e6fc1-c9e0-c958-d6a4-1e1ffb6e5966%40online.de.
[ Direct Link to Message ] | |
|
| |