[prev in list] [next in list] [prev in thread] [next in thread] 

List:       cairo
Subject:    Re: [cairo] config.h ?
From:       Emmanuele Bassi <ebassi () gmail ! com>
Date:       2021-05-19 13:15:07
Message-ID: CALnHYQF+kf2keaOprYhTm5u=3MFNFDXuseKo7v7aRkUGtxFA5g () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


On Wed, 19 May 2021 at 14:06, John Emmas <john@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]

[Attachment #5 (text/html)]

<div dir="ltr"><div dir="ltr">On Wed, 19 May 2021 at 14:06, John Emmas &lt;<a \
href="mailto:john@creativepost.co.uk">john@creativepost.co.uk</a>&gt; \
wrote:<br></div><div class="gmail_quote"><blockquote class="gmail_quote" \
style="margin:0px 0px 0px 0.8ex;border-left:1px solid \
rgb(204,204,204);padding-left:1ex">The last time I built Cairo (from git master) was \
about 5 or 6 weeks <br> ago. Back then, quite a few of the source files contained a \
section like <br> this:-<br>
<br>
           #if HAVE_CONFIG_H<br>
           #include &quot;config.h&quot;<br>
           #endif<br>
<br>
but in today&#39;s version, the #if an #endif lines have gone - just <br>
leaving   #include &quot;config.h&quot;<br>
<br>
But where does config.h come from?   Is it generated by meson somehow?   I <br>
don&#39;t use meson in my builds so I need to find out how to generate (or <br>
obtain) config.h<br></blockquote><div><br></div><div>The `config.h` file is generated \
by the build system—either Autotools or \
Meson.<br></div></div><div><br></div><div>Ciao,</div><div>  \
Emmanuele.<br></div><br>-- <br><div dir="ltr" class="gmail_signature"><a \
href="https://www.bassi.io" target="_blank">https://www.bassi.io</a><br>[@] ebassi \
[@<a href="http://gmail.com" target="_blank">gmail.com</a>]</div></div>



-- 
cairo mailing list
cairo@cairographics.org
https://lists.cairographics.org/mailman/listinfo/cairo


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic