[Mplayer-cvslog] CVS: main configure,1.467,1.468

pl pl at mplayerhq.hu
Mon May 13 14:28:14 CEST 2002


Update of /cvsroot/mplayer/main
In directory mail:/var/tmp.root/cvs-serv25200

Modified Files:
	configure 
Log Message:
lib(un)gif detection fix (linking should be sufficient) and it avoids the message
'Checking for GIF89a support ... ./configure: line 2349:  1123 Segmentation fault      "$TMPO" >>"$TMPLOG"
no'


Index: configure
===================================================================
RCS file: /cvsroot/mplayer/main/configure,v
retrieving revision 1.467
retrieving revision 1.468
diff -u -r1.467 -r1.468
--- configure	12 May 2002 23:37:06 -0000	1.467
+++ configure	13 May 2002 12:28:00 -0000	1.468
@@ -2324,27 +2324,24 @@
   _mkf_jpg="no"
 fi
 
+
 echocheck "GIF89a support"
 if test "$_gif" = auto ; then
   _gif=no
 cat > $TMPC << EOF
 #include <gif_lib.h>
 int main(void) {
-  EGifPutExtensionFirst(NULL,0xFF, 11, NULL);
+  EGifPutExtensionFirst(NULL, 0xFF, 11, NULL);
   return 0;
 }
 EOF
-    if cc_check -lungif ; then
-      if "$TMPO" >> "$TMPLOG" ; then
-        _gif=yes
-        _ld_gif="-lungif"
-      fi
-    elif cc_check -lgif ; then
-      if "$TMPO" >> "$TMPLOG" ; then
-        _gif=yes
-        _ld_gif="-lgif"
-      fi
-    fi
+  if cc_check -lungif ; then
+    _gif=yes
+    _ld_gif="-lungif"
+  elif cc_check -lgif ; then
+    _gif=yes
+    _ld_gif="-lgif"
+  fi
 fi
 echores "$_gif"
 




More information about the MPlayer-cvslog mailing list