summaryrefslogtreecommitdiff
path: root/recipes/netatalk/netatalk-2.0.3/netatalk-2.0.3-newerdb.patch
blob: f64c8cf5eb4502007dd8a97959f91965b35cdd24 (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
Index: netatalk-2.0.3/macros/db3-check.m4
===================================================================
--- netatalk-2.0.3.orig/macros/db3-check.m4
+++ netatalk-2.0.3/macros/db3-check.m4
@@ -115,6 +115,14 @@ int main(void) {
 AC_DEFUN([NETATALK_BERKELEY_LINK],
 [
 atalk_cv_lib_db=no
+NETATALK_BDB_LINK_TRY(atalk_cv_db_db_4_dot_4,[-ldb-4.4])
+NETATALK_BDB_LINK_TRY(atalk_cv_db_db44,[-ldb44])
+NETATALK_BDB_LINK_TRY(atalk_cv_db_db_44,[-ldb-44])
+NETATALK_BDB_LINK_TRY(atalk_cv_db_db_4_4,[-ldb-4-4])
+NETATALK_BDB_LINK_TRY(atalk_cv_db_db_4_dot_3,[-ldb-4.3])
+NETATALK_BDB_LINK_TRY(atalk_cv_db_db43,[-ldb43])
+NETATALK_BDB_LINK_TRY(atalk_cv_db_db_43,[-ldb-43])
+NETATALK_BDB_LINK_TRY(atalk_cv_db_db_4_3,[-ldb-4-3])
 NETATALK_BDB_LINK_TRY(atalk_cv_db_db_4_dot_2,[-ldb-4.2])
 NETATALK_BDB_LINK_TRY(atalk_cv_db_db42,[-ldb42])
 NETATALK_BDB_LINK_TRY(atalk_cv_db_db_42,[-ldb-42])
@@ -134,7 +142,7 @@ AC_DEFUN([AC_PATH_BDB], 
 	trybdbdir=""
 	dobdbsearch=yes
 	bdb_search_dirs="/usr/local/include /usr/include"
-	search_subdirs="/db4.2 /db42 /db4.1 /db41 /db4 /"
+	search_subdirs="/db4.4 /db44 /db4.3 /db43 /db4.2 /db42 /db4.1 /db41 /db4 /"
 
 dnl required BDB version
 	DB_MAJOR_REQ=4