summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorpl <pl@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-05-13 12:28:00 +0000
committerpl <pl@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-05-13 12:28:00 +0000
commit927c55fb02d927e45b0f41580f822ec28404442b (patch)
treed96c7aac426d045d052cf3dd634a8eb24239aeae /configure
parent8ac6946b58617e2fd2bdf916cffa11cd6dd00ecc (diff)
downloadmpv-927c55fb02d927e45b0f41580f822ec28404442b.tar.bz2
mpv-927c55fb02d927e45b0f41580f822ec28404442b.tar.xz
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' git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6069 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure21
1 files changed, 9 insertions, 12 deletions
diff --git a/configure b/configure
index f39b4ed83f..9c4504546a 100755
--- a/configure
+++ b/configure
@@ -2324,27 +2324,24 @@ else
_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"