[MPlayer-dev-eng] [PATCH] bugfix vo_png vo_gif89a

Joey Parrish joey at yunamusic.com
Wed May 15 00:10:51 CEST 2002


On Tue, May 14, 2002 at 08:59:35AM +0200, pl wrote:

> The attached patch should test for ungif then ungif+x11 then gif then
> gif+x11 before disabling the gif support (not tested & not commited).
> 
> -- 
> Best regards,
>   pl

It works fine for me, but I run RedHat at the moment.
Anyone on Slackware care to test it?

Also, I still feel that libgif should be used over libungif
whenever possible.  Attached is my edit of pl's patch.

Thanks,
--Joey

-------------- next part --------------
--- configure.orig	Tue May 14 12:04:20 2002
+++ configure	Tue May 14 12:08:18 2002
@@ -2344,12 +2344,18 @@
   return 0;
 }
 EOF
-  if cc_check -lungif && "$TMPO" >> "$TMPLOG" ; then
+  if cc_check -lgif && "$TMPO" >> "$TMPLOG" ; then
+    _gif=yes
+    _ld_gif="-lgif"
+  elif cc_check -lgif $_ld_x11 && "$TMPO" >> "$TMPLOG" ; then
+    _gif=yes
+    _ld_gif="-lgif $_ld_x11"
+  elif cc_check -lungif && "$TMPO" >> "$TMPLOG" ; then
     _gif=yes
     _ld_gif="-lungif"
-  elif cc_check -lgif && "$TMPO" >> "$TMPLOG" ; then
+  elif cc_check -lungif $_ld_x11 && "$TMPO" >> "$TMPLOG" ; then
     _gif=yes
-    _ld_gif="-lgif"
+    _ld_gif="-lungif $_ld_x11"
   fi
 fi
 


More information about the MPlayer-dev-eng mailing list