View | Details | Raw Unified | Return to bug 72882
Collapse All | Expand All

(-)./files/extra-patch-maildir-header-cache (-6 / +24 lines)
Lines 2-15 Link Here
2
--- a/PATCHES
2
--- a/PATCHES
3
+++ b/PATCHES
3
+++ b/PATCHES
4
@@ -0,0 +1 @@
4
@@ -0,0 +1 @@
5
+patch-1.5.6.tg.hcache.9
5
+patch-1.5.6.tg.hcache.10
6
diff -Nru a/configure.in b/configure.in
6
diff -Nru a/configure.in b/configure.in
7
--- a/configure.in	2004-08-18 09:43:09 +02:00
7
--- a/configure.in	2004-08-18 09:43:09 +02:00
8
+++ b/configure.in	2004-09-02 13:09:08 +02:00
8
+++ b/configure.in	2004-10-14 07:21:52 +02:00
9
@@ -768,6 +768,90 @@
9
@@ -692,11 +692,6 @@
10
    AC_CHECK_FUNCS(idna_to_ascii_lz idna_to_ascii_from_locale)
11
 fi
10
 
12
 
11
         fi])
13
-if test "$need_md5" = "yes"
14
-then
15
-        MUTT_LIB_OBJECTS="$MUTT_LIB_OBJECTS md5c.o"
16
-fi
17
-
18
 dnl -- end socket --
19
 
20
 AC_ARG_ENABLE(debug, [  --enable-debug             Enable debugging support],
21
@@ -767,6 +762,96 @@
22
                    NOTE: this requires significant more memory when defined.])
12
 
23
 
24
         fi])
25
+
13
+dnl -- start cache --
26
+dnl -- start cache --
14
+AC_ARG_ENABLE(hcache, [  --enable-hcache            Enable header caching],
27
+AC_ARG_ENABLE(hcache, [  --enable-hcache            Enable header caching],
15
+[if test x$enableval = xyes; then
28
+[if test x$enableval = xyes; then
Lines 19-24 Link Here
19
+    OLDCPPFLAGS="$CPPFLAGS"
32
+    OLDCPPFLAGS="$CPPFLAGS"
20
+    OLDLIBS="$LIBS"
33
+    OLDLIBS="$LIBS"
21
+
34
+
35
+    need_md5="yes"
22
+    ac_prefer_gdbm=yes
36
+    ac_prefer_gdbm=yes
23
+    AC_ARG_WITH(gdbm, [  --without-gdbm             Get rid of gdbm even if it is available ],
37
+    AC_ARG_WITH(gdbm, [  --without-gdbm             Get rid of gdbm even if it is available ],
24
+        ac_prefer_gdbm=$withval)
38
+        ac_prefer_gdbm=$withval)
Lines 42-48 Link Here
42
+                bdbpfx="$bdbpfx $d/$v"
56
+                bdbpfx="$bdbpfx $d/$v"
43
+            done
57
+            done
44
+        done
58
+        done
45
+        BDB_VERSIONS="db-4 db4 db-4.3 db4.3 db43 db-4.2 db4.2 db42 db-4.1 db4.1 db41 db ''"
59
+        BDB_VERSIONS="db-4.2 db4.2 db42 ''"
46
+        AC_MSG_CHECKING([for BerkeleyDB > 4.0])
60
+        AC_MSG_CHECKING([for BerkeleyDB > 4.0])
47
+        for d in $bdbpfx; do
61
+        for d in $bdbpfx; do
48
+            BDB_INCLUDE_DIR=""
62
+            BDB_INCLUDE_DIR=""
Lines 94-102 Link Here
94
+fi])
108
+fi])
95
+dnl -- end cache --
109
+dnl -- end cache --
96
+
110
+
111
+if test "$need_md5" = "yes"
112
+then
113
+        MUTT_LIB_OBJECTS="$MUTT_LIB_OBJECTS md5c.o"
114
+fi
115
 
97
 AC_SUBST(MUTTLIBS)
116
 AC_SUBST(MUTTLIBS)
98
 AC_SUBST(MUTT_LIB_OBJECTS)
117
 AC_SUBST(MUTT_LIB_OBJECTS)
99
 AC_SUBST(LIBIMAP)
100
diff -Nru a/globals.h b/globals.h
118
diff -Nru a/globals.h b/globals.h
101
--- a/globals.h	2004-08-18 09:43:11 +02:00
119
--- a/globals.h	2004-08-18 09:43:11 +02:00
102
+++ b/globals.h	2004-08-26 22:32:53 +02:00
120
+++ b/globals.h	2004-08-26 22:32:53 +02:00

Return to bug 72882