freetype-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: about the meson build systel


From: Werner LEMBERG
Subject: Re: about the meson build systel
Date: Tue, 25 Aug 2020 05:54:47 +0200 (CEST)

> I propose to get rid of this template entirely for Meson, by
> defining HAVE_UNISTD_H and HAVE_FCNTL_H as simple compiler arguments
> when building the library.

What exactly do you mean with 'compiler arguments'?

> For the builds/unix/ftconfig.h.in case, there is also
> FT_USE_AUTOCONF_SIZEOF_TYPES, whose utility currently escapes me
> (i.e. FreeType's auto-detection of SIZEOF_INT and SIZEOF_LONG should
> be largely sufficient, at least for any C89 compiler).  I didn't
> want to touch that, but we should consider removing these entirely,
> unless there is a practical benefit to it (since I suspect it is
> here for historical reasons).

Can't remember, sorry.  I'm rather sure that the autoconf people would
do something similar to your original approach (i.e., using
preprocessor stuff only) if it worked for all situations.

BTW, how well does meson support cross compilation?


    Werner



reply via email to

[Prev in Thread] Current Thread [Next in Thread]