aboutsummaryrefslogtreecommitdiffstats
path: root/testing/dbmail/gmime-2.6.patch
blob: 105ec5e6bd96caecaed5a2f388a86b3a6d973d4e (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
--- a/acinclude.m4.orig
+++ b/acinclude.m4
@@ -407,7 +407,7 @@
 	AC_MSG_ERROR([pkg-config executable not found. Make sure pkg-config is in your path])
 else
 	AC_MSG_CHECKING([GMime headers])
-	ac_gmime_cflags=`${gmimeconfig} --cflags gmime-2.4`
+	ac_gmime_cflags=`${gmimeconfig} --cflags gmime-2.6`
 	if test -z "$ac_gmime_cflags"
 	then
 		AC_MSG_RESULT([no])
@@ -418,7 +418,7 @@
 	fi
 	
         AC_MSG_CHECKING([GMime libraries])
-	ac_gmime_libs=`${gmimeconfig} --libs gmime-2.4`
+	ac_gmime_libs=`${gmimeconfig} --libs gmime-2.6`
 	if test -z "$ac_gmime_libs"
 	then
 		AC_MSG_RESULT([no])
@@ -427,9 +427,9 @@
 		LDFLAGS="$LDFLAGS $ac_gmime_libs"
         	AC_MSG_RESULT([$ac_gmime_libs])
 	fi
-	ac_gmime_minvers="2.4.6"
+	ac_gmime_minvers="2.6.0"
 	AC_MSG_CHECKING([GMime version >= $ac_gmime_minvers])
-	ac_gmime_vers=`${gmimeconfig}  --atleast-version=$ac_gmime_minvers gmime-2.4 && echo yes`
+	ac_gmime_vers=`${gmimeconfig}  --atleast-version=$ac_gmime_minvers gmime-2.6 && echo yes`
 	if test -z "$ac_gmime_vers"
 	then
 		AC_MSG_ERROR([At least GMime version $ac_gmime_minvers is required.])