[Kde-windows] [RFC] New check for headers & libs on windows
Christian Ehrlicher
Ch.Ehrlicher at gmx.de
Tue Dec 13 20:06:38 CET 2005
Hi,
I've attached a new simple check for libpng.
You just have to give 'check_for_lib()' some informations where and for
what it should look. If all is found, the following five variables are set:
env['CACHED_'+name ] = 1
env['CCFLAGS_'+name ] = [ '-DHAVE_'+name ]
env['CPPPATH_'+name ] = hpaths
env['LIBPATH_'+name ] = lpaths
env['LIB_'+name] = libs
This works fine for me for all c libraries where I don't have to check
if a specific function is available - but if this is needed it should be
no problem to implement.
The function should go into generic.py once it's evaluated.
Christian
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: libpng.py
Url: http://mail.kde.org/pipermail/kde-windows/attachments/20051213/b30466a3/attachment.ksh
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 250 bytes
Desc: OpenPGP digital signature
Url : http://mail.kde.org/pipermail/kde-windows/attachments/20051213/b30466a3/attachment.pgp
More information about the Kde-windows
mailing list