changeset 6068:2090547cb015

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'
author pl
date Mon, 13 May 2002 12:28:00 +0000
parents cf6d29078632
children 8e88e92fe331
files configure
diffstat 1 files changed, 9 insertions(+), 12 deletions(-) [+]
line wrap: on
line diff
--- a/configure	Mon May 13 06:17:03 2002 +0000
+++ b/configure	Mon May 13 12:28:00 2002 +0000
@@ -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"