[Python-checkins] CVS: python/dist/src setup.py,1.50,1.51
Skip Montanaro
montanaro@users.sourceforge.net
Mon, 20 Aug 2001 21:23:23 -0700
Update of /cvsroot/python/python/dist/src
In directory usw-pr-cvs1:/tmp/cvs-serv11570
Modified Files:
setup.py
Log Message:
This is supposed to help configure better sort out the various libdb
incarnations. It's probably not quite sufficient, but should be better than
the status quo...
Index: setup.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/setup.py,v
retrieving revision 1.50
retrieving revision 1.51
diff -C2 -d -r1.50 -r1.51
*** setup.py 2001/08/17 18:39:24 1.50
--- setup.py 2001/08/21 04:23:21 1.51
***************
*** 390,394 ****
dblib = []
! if self.compiler.find_library_file(lib_dirs, 'db'):
dblib = ['db']
--- 390,400 ----
dblib = []
! if self.compiler.find_library_file(lib_dirs, 'db-3.1'):
! dblib = ['db-3.1']
! elif self.compiler.find_library_file(lib_dirs, 'db2'):
! dblib = ['db2']
! elif self.compiler.find_library_file(lib_dirs, 'db1'):
! dblib = ['db1']
! elif self.compiler.find_library_file(lib_dirs, 'db'):
dblib = ['db']