From 76e9a6530fd52070ae5c1784dcbd5e2929c7972d Mon Sep 17 00:00:00 2001 From: David Robillard Date: Fri, 30 Jun 2017 11:08:21 -0400 Subject: Clean up UTF-8 parsing and use CLZ if available --- wscript | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'wscript') diff --git a/wscript b/wscript index b39e43a8..3d60859c 100644 --- a/wscript +++ b/wscript @@ -78,6 +78,11 @@ def configure(conf): defines = ['_POSIX_C_SOURCE=200809L'], mandatory = False) + conf.check(fragment = 'int main() { return __builtin_clz(1); }', + function_name = '__builtin_clz', + define_name = 'HAVE_BUILTIN_CLZ', + mandatory = False) + autowaf.define(conf, 'SERD_VERSION', SERD_VERSION) autowaf.set_lib_env(conf, 'serd', SERD_VERSION) conf.write_config_header('serd_config.h', remove=False) -- cgit v1.2.1