diff options
Diffstat (limited to 'kbabel/kbabeldict/modules/dbsearchengine/configure.in.in')
-rw-r--r-- | kbabel/kbabeldict/modules/dbsearchengine/configure.in.in | 5 |
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 ) |