diff 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
line wrap: on
line diff
--- a/configure	Fri Jul 19 23:07:18 2013 +0000
+++ b/configure	Mon Jul 22 13:05:13 2013 +0000
@@ -5090,7 +5090,7 @@
 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 gif_lib.h 'QuantizeBuffer(0, 0, 0, 0, 0, 0, 0, 0); PrintGifError()' $ld_gif && _gif=yes && break
   done
 fi