s4-waf: mark the wscript files as python so vim/emacs knows how to highlight them
[idra/samba.git] / lib / util / charset / wscript_configure
1 #!/usr/bin/env python
2
3 # rather strangely, we need to look for libiconv before checking libc
4 # as the external libiconv can use a macro to override iconv_open to libiconv_open
5 # and then we may find the wrong iconv.h later due to other packages looking
6 # in /usr/local
7 if (conf.CHECK_FUNCS_IN('iconv_open', 'iconv', checklibc=False, headers='iconv.h') or
8     conf.CHECK_FUNCS('iconv_open', headers='iconv.h')):
9     conf.DEFINE('HAVE_NATIVE_ICONV', 1)