summaryrefslogtreecommitdiffstats
path: root/gnome-base/gnome-libs/files/gnome-libs-1.4.2-ds-db.diff
blob: 0d3762556978970d30063b90ca18a2004a260bba (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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
diff -dPNur gnome-libs-1.4.2/configure.in gnome-libs-1.4.2-ds/configure.in
--- gnome-libs-1.4.2/configure.in	2012-01-15 00:48:44.000000000 +0100
+++ gnome-libs-1.4.2-ds/configure.in	2012-01-15 00:46:27.000000000 +0100
@@ -305,43 +305,20 @@
 dnl
 DB_LIB=
 AC_CHECK_FUNC(dbopen, [],
-if test "$prefer_db1" = "yes"; then
- AC_CHECK_LIB(db1, dbopen, DB_LIB="-ldb1",
-  AC_CHECK_LIB(db, dbopen, DB_LIB="-ldb",
-   AC_CHECK_LIB(db-3, __db185_open, DB_LIB="-ldb-3",
-    AC_CHECK_LIB(db-4, __db185_open, DB_LIB="-ldb-4",
-     AC_MSG_ERROR([Your db library is missing db 1.85 compatibility mode])
-    )
-   )
-  )
- )
-else
  AC_CHECK_LIB(db, dbopen, DB_LIB="-ldb",
-  AC_CHECK_LIB(db1, dbopen, DB_LIB="-ldb1",
+#  AC_CHECK_LIB(db1, dbopen, DB_LIB="-ldb1",
    AC_CHECK_LIB(db-3, __db185_open, DB_LIB="-ldb-3",
     AC_CHECK_LIB(db-4, __db185_open, DB_LIB="-ldb-4",
      AC_MSG_ERROR([Your db library is missing db 1.85 compatibility mode])
     )
    )
   )
- )
-fi
+# )
 )
 
 dnl look for db headers
-if test "$prefer_db1" = "yes"; then
-	AC_CHECK_HEADERS(db_185.h db1/db.h)
-	if test "$ac_cv_header_db_185_h$ac_cv_header_db1_db_h" = nono; then
-	  AC_MSG_ERROR([Berkeley db library required for Gnome])
-	fi
-	AC_DEFINE(PREFER_DB1)
-else
-	AC_CHECK_HEADERS(db.h db_185.h db1/db.h)
+AC_CHECK_HEADERS(db.h db_185.h db1/db.h)
 
-	if test "$ac_cv_header_db_h$ac_cv_header_db_185_h$ac_cv_header_db1_db_h" = nonono; then
-	  AC_MSG_ERROR([Berkeley db library required for Gnome])
-	fi
-fi
 
 dnl
 dnl This is needed for the gnome-moz-remote program.  It doesn't use GDK,