b93bcb
diff -up ./conf_post.h.confpost ./conf_post.h
b93bcb
--- ./conf_post.h.confpost	2012-04-17 15:47:28.000000000 +0200
b93bcb
+++ ./conf_post.h	2013-05-06 18:34:54.274640856 +0200
b93bcb
@@ -8,3 +8,13 @@
b93bcb
 #define HAVE_COMPAT_LIBGDBM
b93bcb
 #endif
b93bcb
 
b93bcb
+/* Define common preprocessor symbol for HAVE_LIBGDBM and HAVE_LIBQDBM, since
b93bcb
+ * libraries gdbm and qdbm have same symbol names. */
b93bcb
+#undef HAVE_COMPAT_LIBGDBM
b93bcb
+#ifdef HAVE_LIBGDBM
b93bcb
+#define HAVE_COMPAT_LIBGDBM
b93bcb
+#endif
b93bcb
+#ifdef HAVE_LIBQDBM
b93bcb
+#define HAVE_COMPAT_LIBGDBM
b93bcb
+#endif
b93bcb
+