Changeset 1864

Show
Ignore:
Timestamp:
03/31/07 12:02:40 (20 months ago)
Author:
dgollub
Message:

Check for glib version 2.10 atleast. Required since we are using g_slice0
Added libxml2 check and parse sqlite3 flags.

Thanks Chris!

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/build/linux/osync_build.py

    r1859 r1864  
    1313                env.Exit(1) 
    1414                 
    15         if not conf.CheckPKG('glib-2.0 >= 2.4'): 
    16                 print 'glib-2.0 >= 2.4 not found.' 
     15        if not conf.CheckPKG('glib-2.0 >= 2.10'): 
     16                print 'glib-2.0 >= 2.10 not found.' 
    1717                env.Exit(1) 
    1818 
     
    2323        if not conf.CheckPKG('sqlite3 >= 3.3'): 
    2424                print 'package \'sqlite\' not found. http://sqlite.org' 
     25                env.Exit(1) 
     26 
     27        if not conf.CheckPKG('libxml-2.0 >= 2.6'): 
     28                print 'package \'libxml2\' not found. Version 2.6 or greater nwwsws. http://xmlsoft.org' 
    2529                env.Exit(1) 
    2630 
     
    4044        env.ParseConfig('pkg-config --cflags --libs libxml-2.0') 
    4145        env.ParseConfig('pkg-config --cflags --libs check') 
     46        env.ParseConfig('pkg-config --cflags --libs sqlite3') 
    4247        env.Append(CCFLAGS = r'-I.') 
    4348        env.Append(CCFLAGS = [r'-Wall', r'-Werror'])