Mercurial > cpython-lru_cache-weakref
diff setup.py @ 19420:f52fa2b703d7 legacy-trunk
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...
| author | Skip Montanaro <skip@pobox.com> |
|---|---|
| date | Tue, 21 Aug 2001 04:23:21 +0000 |
| parents | 7257e87e0720 |
| children | 9cf669581110 |
line wrap: on
line diff
--- a/setup.py Mon Aug 20 22:39:42 2001 +0000 +++ b/setup.py Tue Aug 21 04:23:21 2001 +0000 @@ -389,7 +389,13 @@ # BSD DB 3.x.) dblib = [] - if self.compiler.find_library_file(lib_dirs, 'db'): + 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'] db185_incs = find_file('db_185.h', inc_dirs,
