--- ext/dbm/extconf.rb.orig	2002-12-16 08:34:23.000000000 +0100
+++ ext/dbm/extconf.rb	2002-12-30 10:04:05.000000000 +0100
@@ -47,7 +47,7 @@
 if dblib
   db_check(dblib)
 else
-  for dblib in %w(db db2 db1 dbm gdbm)
+  for dblib in %w(dbm db2 db1 db gdbm)
     db_check(dblib) and break
   end
 end
