def CheckGeoTIFF(): geotiff_hdirs=cfg.get_dir('geotiff','hdirs')+cfg.get_dir('General','system_hdirs') geotiff_ldirs=cfg.get_dir('geotiff','ldirs')+cfg.get_dir('General','system_ldirs') geotiff_hdirs = geotiff_hdirs+[os.path.join(x,'geotiff') for x in geotiff_hdirs] geotiff_libs=cfg.get_lib('geotiff','libraries') return GenerateLibCheck('Geotiff',['xtiffio.h'], geotiff_libs, geotiff_hdirs,geotiff_ldirs,'C++')
def CheckPython(): python_hdirs=cfg.get_dir('Python','hdirs')+cfg.get_dir('General','system_hdirs') python_ldirs=cfg.get_dir('Python','ldirs')+cfg.get_dir('General','system_ldirs') python_libs=cfg.get_lib('Python','libraries') python_hdirs.extend([distutils.sysconfig.get_python_inc()]) return GenerateLibCheck('Python',['pyconfig.h'], python_libs,python_hdirs,python_ldirs)