# HG changeset patch # User pl # Date 1021292880 0 # Node ID 2090547cb0150f007014e7ab81c02638ab694e9f # Parent cf6d29078632d27deb5f58d0fa00ecba12267e76 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' diff -r cf6d29078632 -r 2090547cb015 configure --- 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 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"