summaryrefslogtreecommitdiffstats
path: root/kbabel/kbabeldict/modules/dbsearchengine/configure.in.in
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-10-12 21:09:37 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-10-12 21:09:37 +0000
commit49be0750d9c2b16b2a6eaf1086d6486ab023708c (patch)
tree60f3133a7e34c7e9aaa251c0a098d666240fcbe2 /kbabel/kbabeldict/modules/dbsearchengine/configure.in.in
parent76e1423b45cad04dc90d1043af4ca0923ebd3d4c (diff)
downloadtdesdk-49be0750d9c2b16b2a6eaf1086d6486ab023708c.tar.gz
tdesdk-49be0750d9c2b16b2a6eaf1086d6486ab023708c.zip
Fix kdesdk FTBFS
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdesdk@1258672 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kbabel/kbabeldict/modules/dbsearchengine/configure.in.in')
-rw-r--r--kbabel/kbabeldict/modules/dbsearchengine/configure.in.in5
1 files changed, 5 insertions, 0 deletions
diff --git a/kbabel/kbabeldict/modules/dbsearchengine/configure.in.in b/kbabel/kbabeldict/modules/dbsearchengine/configure.in.in
index fbc3f1a8..b025015f 100644
--- a/kbabel/kbabeldict/modules/dbsearchengine/configure.in.in
+++ b/kbabel/kbabeldict/modules/dbsearchengine/configure.in.in
@@ -53,8 +53,13 @@ db->open( db, NULL, "test.db", NULL, DB_BTREE, DB_CREATE, 0644 );
db->open( db, "test.db", NULL, DB_BTREE, DB_CREATE, 0644 );
#endif
#else
+#if DB_VERSION_MAJOR >= 5
+DB *db;
+db->open( db, NULL, "test.db", NULL, DB_BTREE, DB_CREATE, 0644 );
+#else
error
#endif
+#endif
],
kde_cv_berk_database=$1
)