[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 14:50:51
Message-ID: CALnHYQH=Hm0qLJ5AgxCQ2GyH_MEide8NY8x+5vGZKGpFEYtYxw () mail ! gmail ! com
[Download RAW message or body]
[Attachment #2 (multipart/alternative)]
On Wed, 19 May 2021 at 15:46, John Emmas <john@creativepost.co.uk> wrote:
> On 19/05/2021 14:15, Emmanuele Bassi wrote:
> >
> > The `config.h` file is generated by the build system—either Autotools
> > 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=1 ./autogen.sh
mkdir _build && cd _build
../configure
```
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 15:46, John Emmas <<a \
href="mailto:john@creativepost.co.uk">john@creativepost.co.uk</a>> \
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">On 19/05/2021 14:15, Emmanuele Bassi wrote:<br> \
><br> > The `config.h` file is generated by the build system—either Autotools \
<br> > or Meson.<br>
><br>
> Ciao,<br>
> Emmanuele.<br>
><br>
Thanks Emmanuele,<br>
<br>
If I'm reading the makefiles correctly it looks like the top-level <br>
source folder should contain a file called '<a href="http://config.h.in" \
rel="noreferrer" target="_blank">config.h.in</a>' but I'm not <br> seeing \
that here (or does that file also get \
auto-generated?)<br></blockquote><div><br></div><div>Yes, it's generated by the \
`configure` script in Autotools, just like Meson.</div><div> <br></div><blockquote \
class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid \
rgb(204,204,204);padding-left:1ex"> Basically I need to know what command(s) I'd \
need to execute in order to <br> end up with \
config.h<br></blockquote><div><br></div><div>If you are building Cairo with \
Autotools, then:</div><div><br></div><div>```</div><div>./configure</div><div>```</div><div><br></div><div>will \
generate a `config.h` header file in the current directory. If you are building from \
Git, then I recommend using:</div><div><br></div><div>```</div><div>NOCONFIGURE=1 \
./autogen.sh</div><div>mkdir _build && cd \
_build</div><div>../configure</div><div>```<br></div><div><br></div><div>Ciao,</div><div> \
Emmanuele.<br></div></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