--===============1963225099== Content-Type: multipart/alternative; boundary="0000000000009cb51a05c2aff49d" --0000000000009cb51a05c2aff49d Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Wed, 19 May 2021 at 15:46, John Emmas wrote: > On 19/05/2021 14:15, Emmanuele Bassi wrote: > > > > The `config.h` file is generated by the build system=E2=80=94either Aut= otools > > or Meson. > > > > Ciao, > > Emmanuele. > > > Thanks Emmanuele, > > If I'm reading the makefiles correctly it looks like the top-level > source folder should contain a file called 'config.h.in' but I'm not > seeing that here (or does that file also get auto-generated?) > Yes, it's generated by the `configure` script in Autotools, just like Meson= . Basically I need to know what command(s) I'd need to execute in order to > end up with config.h > If you are building Cairo with Autotools, then: ``` ./configure ``` will generate a `config.h` header file in the current directory. If you are building from Git, then I recommend using: ``` NOCONFIGURE=3D1 ./autogen.sh mkdir _build && cd _build ../configure ``` Ciao, Emmanuele. --=20 https://www.bassi.io [@] ebassi [@gmail.com] --0000000000009cb51a05c2aff49d Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
On Wed, 19 May 2021 at 15:46, John Emmas = <john@creativepost.co.uk&= gt; wrote:
On 19/05/2021 14:15, Emmanuele Bassi wrote:
>
> The `config.h` file is generated by the build system=E2=80=94either Au= totools
> or Meson.
>
> Ciao,
>=C2=A0 Emmanuele.
>
Thanks Emmanuele,

If I'm reading the makefiles correctly it looks like the top-level
source folder should contain a file called 'config.h.in' but I'm n= ot
seeing that here (or does that file also get auto-generated?)

Yes, it's generated by the `configure` script in= Autotools, just like Meson.

Basically I need to know what command(s) I'd need to execute in order t= o
end up with config.h

If you are buildin= g Cairo with Autotools, then:

```
./conf= igure
```

will generate a `config.h` hea= der file in the current directory. If you are building from Git, then I rec= ommend using:

```
NOCONFIGURE=3D1 ./auto= gen.sh
mkdir _build && cd _build
../configure
```

Ciao,
=C2=A0Emmanuele.<= br>

--
--0000000000009cb51a05c2aff49d-- --===============1963225099== 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 --===============1963225099==--