[cairo] config.h ?

Emmanuele Bassi ebassi at gmail.com
Wed May 19 13:15:07 UTC 2021


On Wed, 19 May 2021 at 14:06, John Emmas <john at creativepost.co.uk> wrote:

> The last time I built Cairo (from git master) was about 5 or 6 weeks
> ago. Back then, quite a few of the source files contained a section like
> this:-
>
>        #if HAVE_CONFIG_H
>        #include "config.h"
>        #endif
>
> but in today's version, the #if an #endif lines have gone - just
> leaving  #include "config.h"
>
> But where does config.h come from?  Is it generated by meson somehow?  I
> don't use meson in my builds so I need to find out how to generate (or
> obtain) config.h
>

The `config.h` file is generated by the build system—either Autotools or
Meson.

Ciao,
 Emmanuele.

-- 
https://www.bassi.io
[@] ebassi [@gmail.com]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.cairographics.org/archives/cairo/attachments/20210519/bcda6fd2/attachment.htm>


More information about the cairo mailing list