diff options
author | wm4 <wm4@nowhere> | 2015-08-02 00:12:36 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2015-08-02 00:12:36 +0200 |
commit | 920cf8971e578cfcf8838e454d15bdd2c12ab724 (patch) | |
tree | e66cba3af4efadc75f552e617b5f6d65efff6545 /wscript | |
parent | a74914a05762f03422b492c8d3b2f9e35840708f (diff) |
build: make charset detectors dependent on iconv and group them
Diffstat (limited to 'wscript')
-rw-r--r-- | wscript | 15 |
1 files changed, 11 insertions, 4 deletions
@@ -277,10 +277,6 @@ iconv support use --disable-iconv.", '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', 'deps': [ 'libdl' ], @@ -339,8 +335,19 @@ 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', 'func': check_statement('ladspa.h', 'LADSPA_Descriptor ld = {0}'), |