From 920cf8971e578cfcf8838e454d15bdd2c12ab724 Mon Sep 17 00:00:00 2001 From: wm4 Date: Sun, 2 Aug 2015 00:12:36 +0200 Subject: build: make charset detectors dependent on iconv and group them --- wscript | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) (limited to 'wscript') diff --git a/wscript b/wscript index 11a10a04b7..f6d5b6c194 100644 --- a/wscript +++ b/wscript @@ -276,10 +276,6 @@ iconv support use --disable-iconv.", 'deps': [ 'os-linux' ], 'func': check_statement('sys/vfs.h', 'struct statfs fs; fstatfs(0, &fs); fs.f_namelen') - }, { - 'name': '--libguess', - 'desc': 'libguess support', - 'func': check_pkg_config('libguess', '>= 1.0'), }, { 'name': '--libsmbclient', 'desc': 'Samba support', @@ -339,7 +335,18 @@ iconv support use --disable-iconv.", }, { 'name': '--enca', 'desc': 'ENCA support', + 'deps': [ 'iconv' ], 'func': check_statement('enca.h', 'enca_get_languages(NULL)', lib='enca'), + }, { + 'name': '--libguess', + 'desc': 'libguess support', + 'deps': [ 'iconv' ], + 'func': check_pkg_config('libguess', '>= 1.0'), + }, { + 'name': '--uchardet', + 'desc': 'uchardet support', + 'deps': [ 'iconv' ], + 'func': check_pkg_config('uchardet'), }, { 'name': '--ladspa', 'desc': 'LADSPA plugin support', -- cgit v1.2.3