From cairo Wed May 19 13:15:07 2021 From: Emmanuele Bassi Date: Wed, 19 May 2021 13:15:07 +0000 To: cairo Subject: Re: [cairo] config.h ? Message-Id: X-MARC-Message: https://marc.info/?l=cairo&m=162143012327633 MIME-Version: 1 Content-Type: multipart/mixed; boundary="--===============2016287739==" --===============2016287739== Content-Type: multipart/alternative; boundary="00000000000044f79c05c2ae9e4d" --00000000000044f79c05c2ae9e4d Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Wed, 19 May 2021 at 14:06, John Emmas 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=E2=80=94either Autotoo= ls or Meson. Ciao, Emmanuele. --=20 https://www.bassi.io [@] ebassi [@gmail.com] --00000000000044f79c05c2ae9e4d Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
On Wed, 19 May 2021 at 14:06, John Emmas = <john@creativepost.co.uk&= gt; wrote:
The last time I built Cairo (from git master) was abo= ut 5 or 6 weeks
ago. Back then, quite a few of the source files contained a section like this:-

=C2=A0 =C2=A0 =C2=A0 =C2=A0#if HAVE_CONFIG_H
=C2=A0 =C2=A0 =C2=A0 =C2=A0#include "config.h"
=C2=A0 =C2=A0 =C2=A0 =C2=A0#endif

but in today's version, the #if an #endif lines have gone - just
leaving=C2=A0 #include "config.h"

But where does config.h come from?=C2=A0 Is it generated by meson somehow?= =C2=A0 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=E2=80=94either Autotools or Meson.
=

Ciao,
=C2=A0Emmanuele.

-- =
--00000000000044f79c05c2ae9e4d-- --===============2016287739== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline -- cairo mailing list cairo@cairographics.org https://lists.cairographics.org/mailman/listinfo/cairo --===============2016287739==--