summaryrefslogtreecommitdiff
blob: 051fdcb8c7b6c730035a4805edc1471c06edc8d6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
--- libgdamm-3.99.12/configure.in.orig	2009-03-04 17:36:22.959570120 +0100
+++ libgdamm-3.99.12/configure.in	2009-03-04 17:38:53.180360200 +0100
@@ -117,6 +117,18 @@
 AC_SUBST(LIBGDAMM_CFLAGS)
 AC_SUBST(LIBGDAMM_LIBS)
 
+dnl Test for Berkeley DB
+try_bdb=true
+AC_ARG_WITH(bdb,
+[  --with-bdb   use bdb library],[
+if test $withval = no
+then
+    try_bdb=false
+fi
+])
+
+if test $try_bdb = true
+then
 PKG_CHECK_MODULES(LIBGDAMM_BDB, libgda-bdb-4.0 >= $LIBGDA_REQUIRED,
                 [have_bdb="yes"],
                 [have_bdb="no"])
@@ -125,6 +137,8 @@
   LIBGDAMM_CFLAGS="$LIBGDAMM_CFLAGS -DHAVE_BDB"
 fi
 
+fi
+
 AM_CONDITIONAL(HAVE_BDB, [test x$have_bdb = xyes])
 
 GLIBMM_LIBDIR=`pkg-config --variable=libdir glibmm-2.4`