Magellan Linux

Contents of /trunk/apr-util/patches/apr-util-1.4.1-db53.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1629 - (show annotations) (download)
Mon Jan 23 09:01:33 2012 UTC (12 years, 3 months ago) by niro
File size: 1162 byte(s)
-support db-5.2 and db-5.3
1 --- apr-util-1.4.1/build/dbm.m4.orig 2012-01-23 10:46:45.564982929 +0100
2 +++ apr-util-1.4.1/build/dbm.m4 2012-01-23 10:48:35.118982932 +0100
3 @@ -579,6 +579,44 @@
4 apu_db_version=5
5 fi
6 ])
7 +dnl
8 +dnl APU_CHECK_DB52: is DB5.2 present?
9 +dnl
10 +dnl if present: sets apu_db_header, apu_db_lib, and apu_db_version
11 +dnl
12 +AC_DEFUN([APU_CHECK_DB52], [
13 + places=$1
14 + if test -z "$places"; then
15 + places="std /usr/local/BerkeleyDB.5.2 /boot/home/config"
16 + fi
17 + APU_CHECK_BERKELEY_DB("5", "2", "-1",
18 + "$places",
19 + "db52/db.h db5/db.h db.h",
20 + "db-5.2 db5-5.2 db52 db5 db"
21 + )
22 + if test "$apu_have_db" = "1"; then
23 + apu_db_version=5
24 + fi
25 +])
26 +dnl
27 +dnl APU_CHECK_DB52: is DB5.3 present?
28 +dnl
29 +dnl if present: sets apu_db_header, apu_db_lib, and apu_db_version
30 +dnl
31 +AC_DEFUN([APU_CHECK_DB52], [
32 + places=$1
33 + if test -z "$places"; then
34 + places="std /usr/local/BerkeleyDB.5.3 /boot/home/config"
35 + fi
36 + APU_CHECK_BERKELEY_DB("5", "3", "-1",
37 + "$places",
38 + "db53/db.h db5/db.h db.h",
39 + "db-5.3 db5-5.3 db53 db5 db"
40 + )
41 + if test "$apu_have_db" = "1"; then
42 + apu_db_version=5
43 + fi
44 +])
45
46 AC_DEFUN([APU_CHECK_DB], [
47 requested=$1