very basic SConfigure support available

Ralf Habacker ralf.habacker at freenet.de
Sun Oct 23 02:01:55 CEST 2005


Hi all, 

relating to the discussed custom configure support I have prepared some 
example, how it could be structured. Please send your suggestions to this 
list. 

An initial parser for this stuff is checked in under bksys/configure.py. 

Regards
 Ralf 

dcop/SConfigure

conf.cfunctions += "getuid setuid"
conf.cheaders += "unistd.h"
conf.options['with-xyz'] = ['Enable yxz support','default value']




kdecore/SConfigure

conf.cfunctions += "mmap getmntinfo setmntent"
conf.cheaders += "sys/stat.h sys/mntent.h sys/param.h paths.h limits.h 
execinfo.h"
conf.optional_cheaders += "sys/socket.h"
conf.optional_cfunctions += "xyz"

# with-xxx option 
conf.module['tiff'] = ['Enable tiff support','yes']
conf.module'jasper'] = ['Enable jasper (jpeg2k) support','yes']
conf.module['openexr'] = ['Enable openexr support','no']


More information about the Kde-buildsystem mailing list