# When using msvc, windows.h is required
if use_vc and not conf.CheckCHeader('windows.h'):
print 'Windows.h is not found. Please install Windows Platform SDK.'
+ print 'Please check config.log for more information.'
Exit(1)
# pkg-config? (if not, we use hard-coded options)
if (not use_vc and not conf.CheckLibWithHeader('z', 'zlib.h', 'C')) \
or (use_vc and not conf.CheckLibWithHeader('zdll', 'zlib.h', 'C')):
print 'Did not find zdll.lib or zlib.h, exiting!'
+ print 'Please check config.log for more information.'
Exit(1)
if conf.CheckLib('iconv'):
env['ICONV_LIB'] = 'iconv'
env['ICONV_LIB'] = None
else:
print 'Did not find iconv or libiconv, exiting!'
+ print 'Please check config.log for more information.'
Exit(1)
# check socket libs
print "Warning: Can not locate any spell checker"
elif spell_opt != 'no':
print "Warning: Can not locate specified spell checker:", spell_opt
+ print 'Please check config.log for more information.'
Exit(1)
# check arg types of select function
# something wrong
if sizeof_wchar_t == 0:
print 'Error: Can not determine the size of wchar_t.'
+ print 'Please check config.log for more information.'
Exit(1)
#
# still can not find it
if not succ:
print 'Did not find qt libraries, exiting!'
+ print 'Please check config.log for more information.'
Exit(1)
#
# Now, determine the correct suffix: