commit | 70ec40befa159726dac4969eb6de426bfd6cb88a | [log] [tgz] |
---|---|---|
author | Jack Jansen <jack.jansen@cwi.nl> | Mon Feb 24 12:48:58 2003 +0000 |
committer | Jack Jansen <jack.jansen@cwi.nl> | Mon Feb 24 12:48:58 2003 +0000 |
tree | cb2450a126cabb171cb351886a08372caea0f4de | |
parent | deac2acdb8865a88fdc6a318e7967ba60f7d7e75 [diff] |
The test for iconv_incs tested explicitly for None, but [] is returned if the include files cannot be found.
diff --git a/setup.py b/setup.py index 31df74c..96ed416 100644 --- a/setup.py +++ b/setup.py
@@ -622,8 +622,8 @@ iconv_libs = find_library_file(self.compiler, 'iconv', lib_dirs, ['/usr/local/lib', '/usr/pkg/lib']) - if (iconv_incs is not None): - if iconv_libs is not None: + if iconv_incs: + if iconv_libs: iconv_libraries = ['iconv'] else: iconv_libraries = [] # in libc