[SUPPORTIVE PATCH 0.17.200] build and use statically linked zlib-1.2.8 with notmuch

Tomi Ollila tomi.ollila at iki.fi
Fri Apr 18 01:29:23 PDT 2014


On Fri, Apr 18 2014, Tomi Ollila <tomi.ollila at iki.fi> wrote:

> ¡¡ NOT TO BE MERGED TO NOTMUCH REPOSITORY !!
>
> (Due to its intrusive nature this patch is not suitable for merging.)

...

> --- a/configure
> +++ b/configure
> @@ -342,6 +342,13 @@ fi
>  
>  printf "Checking for zlib (>= 1.2.5.2)... "
>  have_zlib=0
> +# XXX unofficial supportive patch to use self-built zlib XXX
> +printf "Checking/building zlib 1.2.8:\n"
> +(cd compat; exec ../"$srcdir"/compat/build-zlib.py)

... and next version will check whether "$srcdir" starts with '/'
--- fix it by hand if you have problems there...

Tomi

> +have_zlib=1
> +zlib_cflags="-I ./compat/zlib-1.2.8"
> +zlib_ldflags=
> +: ||
>  if pkg-config --atleast-version=1.2.5.2 zlib; then
>      printf "Yes.\n"
>      have_zlib=1
> -- 
> 1.8.0


More information about the notmuch mailing list