]> granicus.if.org Git - python/commitdiff
db_incs is needed
authorBenjamin Peterson <benjamin@python.org>
Wed, 3 Sep 2008 23:30:49 +0000 (23:30 +0000)
committerBenjamin Peterson <benjamin@python.org>
Wed, 3 Sep 2008 23:30:49 +0000 (23:30 +0000)
setup.py

index f411c5f0bfc9b48ee73b678f140f9d3c9488d2ae..7837c8a386193011b95577d8bdf885da40ec1ee8 100644 (file)
--- a/setup.py
+++ b/setup.py
@@ -665,6 +665,20 @@ class PyBuildExt(build_ext):
         # implementation independent wrapper for these; dbm/dumb.py provides
         # similar functionality (but slower of course) implemented in Python.
 
+        db_inc_paths = [
+            '/usr/include/db4',
+            '/usr/local/include/db4',
+            '/opt/sfw/include/db4',
+            '/usr/include/db3',
+            '/usr/local/include/db3',
+            '/opt/sfw/include/db3',
+            # Fink defaults (http://fink.sourceforge.net/)
+            '/sw/include/db4',
+            '/sw/include/db3',
+        ]
+
+        db_incs = None
+
         # The sqlite interface
         sqlite_setup_debug = False   # verbose debug prints from this script?