Exemplo n.º 1
0
def configure(conf):
    env = conf.env
    config.check_home(conf, 'libbzip2')
    config.check_home(conf, 'libbzip2', lib_suffix='', inc_suffix='/src')

    return \
        config.check_header(conf, 'bzlib.h') and config.check_lib(conf, 'bz2')
Exemplo n.º 2
0
def configure(conf):
    env = conf.env
    config.check_home(conf, 'libbzip2')
    config.check_home(conf, 'libbzip2', lib_suffix = '', inc_suffix = '/src')

    return \
        config.check_header(conf, 'bzlib.h') and config.check_lib(conf, 'bz2')
Exemplo n.º 3
0
def configure(conf):
    env = conf.env

    # pthread
    if env['PLATFORM'] != 'win32':
        config.configure('pthreads', conf)

    # wsock32
    if env['PLATFORM'] == 'win32':
        config.require_lib(conf, 'wsock32')

    config.check_home(conf, 'libsqlite', '', '')

    if config.check_lib(conf, 'sqlite3') and \
            config.check_header(conf, 'sqlite3.h'):
        env.AppendUnique(CPPDEFINES=['HAVE_LIBSQLITE'])
        return True

    return False
Exemplo n.º 4
0
def configure(conf):
    env = conf.env

    # pthread
    if env['PLATFORM'] != 'win32':
        config.configure('pthreads', conf)

    # wsock32
    if env['PLATFORM'] == 'win32':
        config.require_lib(conf, 'wsock32')

    config.check_home(conf, 'libsqlite', '', '')

    if config.check_lib(conf, 'sqlite3') and \
            config.check_header(conf, 'sqlite3.h'):
        env.AppendUnique(CPPDEFINES = ['HAVE_LIBSQLITE'])
        return True

    return False
Exemplo n.º 5
0
def configure(conf):
    env = conf.env
    config.check_home(conf, 'zlib')
    config.check_home(conf, 'zlib', lib_suffix='', inc_suffix='/src')

    return config.check_header(conf, 'zlib.h') and config.check_lib(conf, 'z')
Exemplo n.º 6
0
def configure(conf):
    env = conf.env
    config.check_home(conf, 'zlib')
    config.check_home(conf, 'zlib', lib_suffix = '', inc_suffix = '/src')

    return config.check_header(conf, 'zlib.h') and config.check_lib(conf, 'z')