[PATCH] configure: Add support for GMime 2.6

Adrien Bustany madcat at mymadcat.com
Sat Apr 17 09:25:15 PDT 2010


Just sending the patch again for the 0.3 merge window...

Cheers

Adrien

On Thu, 15 Apr 2010 19:41:55 -0400, Adrien Bustany <abustany at gnome.org>
wrote:
> Notmuch compiles just fine with GMime 2.6, so accept it in the configure
> script.
> ---
>  configure |    5 +++++
>  1 files changed, 5 insertions(+), 0 deletions(-)
> 
> diff --git a/configure b/configure
> index eebe075..d4d462f 100755
> --- a/configure
> +++ b/configure
> @@ -188,6 +188,11 @@ if pkg-config --modversion gmime-2.4 > /dev/null
> 2>&1; then
>      have_gmime=1
>      gmime_cflags=$(pkg-config --cflags gmime-2.4)
>      gmime_ldflags=$(pkg-config --libs gmime-2.4)
> +elif pkg-config --modversion gmime-2.6 > /dev/null 2>&1; then
> +    printf "Yes.\n"
> +    have_gmime=1
> +    gmime_cflags=$(pkg-config --cflags gmime-2.6)
> +    gmime_ldflags=$(pkg-config --libs gmime-2.6)
>  else
>      printf "No.\n"
>      have_gmime=0


More information about the notmuch mailing list