diff options
author | David Robillard <d@drobilla.net> | 2017-06-30 11:08:21 -0400 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2017-06-30 11:09:01 -0400 |
commit | 76e9a6530fd52070ae5c1784dcbd5e2929c7972d (patch) | |
tree | 4d3d65c25458d78aab5e0b5d9bba35db32bcc043 /wscript | |
parent | 83e06e802c65bcc810483992838ac05fd173aae7 (diff) | |
download | serd-76e9a6530fd52070ae5c1784dcbd5e2929c7972d.tar.gz serd-76e9a6530fd52070ae5c1784dcbd5e2929c7972d.tar.bz2 serd-76e9a6530fd52070ae5c1784dcbd5e2929c7972d.zip |
Clean up UTF-8 parsing and use CLZ if available
Diffstat (limited to 'wscript')
-rw-r--r-- | wscript | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -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) |