[Python-checkins] python/dist/src setup.py,1.124,1.125

loewis@users.sourceforge.net loewis@users.sourceforge.net
Thu, 12 Dec 2002 12:23:40 -0800


Update of /cvsroot/python/python/dist/src
In directory sc8-pr-cvs1:/tmp/cvs-serv22118

Modified Files:
	setup.py 
Log Message:
Patch #629126: Detect BLT by also looking for libBLT.


Index: setup.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/setup.py,v
retrieving revision 1.124
retrieving revision 1.125
diff -C2 -d -r1.124 -r1.125
*** setup.py	12 Dec 2002 17:37:48 -0000	1.124
--- setup.py	12 Dec 2002 20:23:38 -0000	1.125
***************
*** 951,954 ****
--- 951,958 ----
              defs.append( ('WITH_BLT', 1) )
              libs.append('BLT8.0')
+         elif self.compiler.find_library_file(lib_dirs + added_lib_dirs,
+                                            'BLT'):
+             defs.append( ('WITH_BLT', 1) )
+             libs.append('BLT')
  
          # Add the Tcl/Tk libraries