Author: tack
Date: Fri May 25 19:17:50 2007
New Revision: 2687

Modified:
   trunk/base/src/distribution/core.py

Log:
Return None if check_library() doesn't find the requested library.  Some
setup.py code expects this.  (Fixes kaa.display compile failure if composite
headers aren't found.)


Modified: trunk/base/src/distribution/core.py
==============================================================================
--- trunk/base/src/distribution/core.py (original)
+++ trunk/base/src/distribution/core.py Fri May 25 19:17:50 2007
@@ -91,8 +91,10 @@
             print version
         elif version:
             print 'no (%s)' % version
+            return
         else:
             print 'no'
+            return
     else:
         for var in ('include_dirs', 'library_dirs', 'libraries'):
             if var in kwargs:
@@ -103,6 +105,7 @@
             print 'ok'
         else:
             print 'no'
+            return
     _libraries[name] = lib
     return lib
 

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Freevo-cvslog mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freevo-cvslog

Reply via email to