Michael Orlitzky on Tue, 01 Aug 2023 17:20:17 +0200


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: [PATCH 0/2] use fltk's CXXFLAGS when looking for it


On Tue, 2023-08-01 at 17:04 +0200, Bill Allombert wrote:
> 
> Hello Michael,
> 
> Could you clarify which version of FLTK you are targetting ?

Version 1.3.5, built with

  ./configure ... --includedir=/usr/include/fltk

Why do we (Gentoo) do that? I can only guess. Since we're a source-
based distribution, installing a package means building it, and that
requires us to install the development headers for everything. As a
result we tend to be the ones who find out that two headers from
different packages share the same name. My guess is that some FLTK
header has the same name as a header from another package. By putting
the headers in subdirectory, we avoid the name clash.

> 
> Note that all C++ file in the PARI distribution use the .c suffix,
> so I would rather keep config/has_fltk.c as it is.
> 

No problem, I'll drop that commit.