wrlib: Add support for v5 of the gif_lib API
commita7663fbbcf3b9585bcd97ac71db8a9b30eb76fc7
authorChristophe CURIS <christophe.curis@free.fr>
Sun, 3 Nov 2013 12:08:11 +0000 (3 13:08 +0100)
committerCarlos R. Mafra <crmafra@gmail.com>
Mon, 30 Dec 2013 18:11:02 +0000 (30 18:11 +0000)
tree2e312d246e9f7a0c6915e3e95aaadb797463690b
parent7831acebe3b5e3a819e344a13a5d68c1526b363f
wrlib: Add support for v5 of the gif_lib API

As reported by Nicolas (nhs), compilation of wrlib is broken when
switching to gif_lib v5.

The API of gif_lib has known little change to provide thread-safe usage,
so we now detect this in configure and and use the functions as appropriate
in gif.c

Signed-off-by: Christophe CURIS <christophe.curis@free.fr>
Signed-off-by: Carlos R. Mafra <crmafra@gmail.com>
m4/wm_imgfmt_check.m4
wrlib/gif.c