FLTK logo

Re: [fltk.coredev] configure --enable-pango no longer works

FLTK matrix user chat room
(using Element browser app)   FLTK gitter user chat room   GitHub FLTK Project   FLTK News RSS Feed  
  FLTK Apps      FLTK Library      Forums      Links     Login 
 All Forums  |  Back to fltk.coredev  ]
 
Previous Message ]New Message | Reply ]Next Message ]

Re: configure --enable-pango no longer works Manolo Feb 17, 2021  
 

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. Whether
this is useful I can't tell, but it *does* work.

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 if you can set the
CFLAGS/CXXFLAGS/LDFLAGS properly for your system.
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'.


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.

--
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/ddec50c0-4618-4fda-8904-ad477348dab5n%40googlegroups.com.
Direct Link to Message ]
 
     
Previous Message ]New Message | Reply ]Next Message ]
 
 

Comments are owned by the poster. All other content is copyright 1998-2024 by Bill Spitzak and others. This project is hosted by The FLTK Team. Please report site problems to 'erco@seriss.com'.