# HG changeset patch # User al # Date 1375819373 0 # Node ID ebf1b3af62cde8b4888fe4373f9eaf9ac5e1d714 # Parent 9fab03575b8988752ea53a39b1ec240354bf30d0 configure: Fix GIF support result comment Do not print confusing result comment about old GIFLIB version when actually compiling against new GIFLIB versions. No functional changes. diff -r 9fab03575b89 -r ebf1b3af62cd configure --- a/configure Tue Aug 06 16:22:46 2013 +0000 +++ b/configure Tue Aug 06 20:02:53 2013 +0000 @@ -5087,11 +5087,12 @@ _gif=auto fi +gif_new=no if test "$_gif" = auto ; then _gif=no for ld_gif in "-lungif" "-lgif" ; do statement_check gif_lib.h 'QuantizeBuffer(0, 0, 0, 0, 0, 0, 0, 0)' $ld_gif && _gif=yes && break - statement_check_broken stdlib.h gif_lib.h 'GifQuantizeBuffer(0, 0, 0, 0, 0, 0, 0, 0)' $ld_gif && _gif=yes && break + statement_check_broken stdlib.h gif_lib.h 'GifQuantizeBuffer(0, 0, 0, 0, 0, 0, 0, 0)' $ld_gif && _gif=yes && gif_new=yes && break done fi @@ -5113,7 +5114,7 @@ def_gif='#define CONFIG_GIF 1' codecmodules="gif $codecmodules" vomodules="gif89a $vomodules" - res_comment="old version, some encoding functions disabled" + res_comment="" def_gif_4='#undef CONFIG_GIF_4' extra_ldflags="$extra_ldflags $ld_gif" @@ -5132,7 +5133,8 @@ EOF if cc_check "$ld_gif" ; then def_gif_4='#define CONFIG_GIF_4 1' - res_comment="" + elif test "$gif_new" = no ; then + res_comment="old version, some encoding functions disabled" fi else def_gif='#undef CONFIG_GIF'