Mercurial > mplayer.hg
comparison configure @ 36270:cc9eed01e8e7
Fix compilation if giflib 5 is installed.
Other (better) solutions are currently discussed, but there is no reason
that a default build fails on systems with latest giflib.
author | cehoyos |
---|---|
date | Mon, 22 Jul 2013 13:05:13 +0000 |
parents | cee30532995e |
children | 1a889d9a4540 |
comparison
equal
deleted
inserted
replaced
36269:cee30532995e | 36270:cc9eed01e8e7 |
---|---|
5088 fi | 5088 fi |
5089 | 5089 |
5090 if test "$_gif" = auto ; then | 5090 if test "$_gif" = auto ; then |
5091 _gif=no | 5091 _gif=no |
5092 for ld_gif in "-lungif" "-lgif" ; do | 5092 for ld_gif in "-lungif" "-lgif" ; do |
5093 statement_check gif_lib.h 'QuantizeBuffer(0, 0, 0, 0, 0, 0, 0, 0)' $ld_gif && _gif=yes && break | 5093 statement_check gif_lib.h 'QuantizeBuffer(0, 0, 0, 0, 0, 0, 0, 0); PrintGifError()' $ld_gif && _gif=yes && break |
5094 done | 5094 done |
5095 fi | 5095 fi |
5096 | 5096 |
5097 # If no library was found, and the user wants support forced, | 5097 # If no library was found, and the user wants support forced, |
5098 # then we force it on with libgif, as this is the safest | 5098 # then we force it on with libgif, as this is the safest |