Rebuilt for libgcrypt-1.6
[git/cygwin-packages/libgda5.0.git] / 5.2.2-cygwin-bdb.patch
CommitLineData
35ef6a33
YS
1--- origsrc/libgda-5.2.2/m4/bdb.m4 2013-11-16 08:27:35.000000000 -0600
2+++ src/libgda-5.2.2/m4/bdb.m4 2015-01-08 11:41:04.333028600 -0600
3@@ -114,7 +114,7 @@ m4_define([_BDB_CHECK_INTERNAL],
4 do
5 bdbdir=""
6 AC_MSG_CHECKING([for Berkeley DB files in $d])
7- for version in "" 6.0 5.3 5.1 5.0 4.9 4.8 4.7
8+ for version in 6.0 5.3 5.2 5.1 5.0 4.9 4.8 4.7
9 do
10 if test $platform_win32 = yes
11 then
12@@ -129,7 +129,13 @@ m4_define([_BDB_CHECK_INTERNAL],
13 db_libfile="$d/$bdb_loclibdir/libdb$bdb_libext"
14 try_headers="db.h"
15 else
16- if test $platform_win32 = yes
17+ if test $platform_cygwin = yes
18+ then
19+ db_libfilename="cygdb-$version.dll"
20+ db_lib="-ldb-$version"
21+ db_libfile="$d/lib/libdb-$version.dll.a"
22+ try_headers="db$version/db.h db$sversion/db.h"
23+ elif test $platform_win32 = yes
24 then
25 db_libfilename="libdb$sversion$bdb_libext"
26 db_lib="-ldb$sversion"
This page took 0.021245 seconds and 5 git commands to generate.