On Wed, Apr 4, 2018 at 1:23 AM, Nikolaus Waxweiler <[email protected]> wrote: >> Theoretically yes. However, relying on `FT_CHAR_BIT' is not as reliable as >> using the `SIZEOF_INT' and `SIZEOF_LONG' autoconf tests. > > Hm. So to unify this, I'd have to use a generic "FT_SIZEOF_LONG == (64 > / FT_CHAR_BIT)" and replace the line wholesale while configureing with > CMake or Autoconf.
note that on Windows, a long int is always 4 bytes long, contrary to unix where it depends on the architecture. Vincent Torri > > Please have a look at > https://github.com/madig/freetype2/commits/modernize-cmake-build. > Attached is a patch that cleans up quite a bit. > > The main differences are that the Autotools build produces 300-400 KB > smaller shared objects and making a source package will not include > the reference and obviously the generated Autotools files. A `refdoc` > and `devel` target are also still missing, as does a pkg-config file. > > _______________________________________________ > Freetype-devel mailing list > [email protected] > https://lists.nongnu.org/mailman/listinfo/freetype-devel > _______________________________________________ Freetype-devel mailing list [email protected] https://lists.nongnu.org/mailman/listinfo/freetype-devel
