mirror of
https://github.com/mpv-player/mpv
synced 2025-03-25 04:38:01 +00:00
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
This commit is contained in:
parent
8ac6946b58
commit
927c55fb02
21
configure
vendored
21
configure
vendored
@ -2324,27 +2324,24 @@ else
|
|||||||
_mkf_jpg="no"
|
_mkf_jpg="no"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
||||||
echocheck "GIF89a support"
|
echocheck "GIF89a support"
|
||||||
if test "$_gif" = auto ; then
|
if test "$_gif" = auto ; then
|
||||||
_gif=no
|
_gif=no
|
||||||
cat > $TMPC << EOF
|
cat > $TMPC << EOF
|
||||||
#include <gif_lib.h>
|
#include <gif_lib.h>
|
||||||
int main(void) {
|
int main(void) {
|
||||||
EGifPutExtensionFirst(NULL,0xFF, 11, NULL);
|
EGifPutExtensionFirst(NULL, 0xFF, 11, NULL);
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
EOF
|
EOF
|
||||||
if cc_check -lungif ; then
|
if cc_check -lungif ; then
|
||||||
if "$TMPO" >> "$TMPLOG" ; then
|
_gif=yes
|
||||||
_gif=yes
|
_ld_gif="-lungif"
|
||||||
_ld_gif="-lungif"
|
elif cc_check -lgif ; then
|
||||||
fi
|
_gif=yes
|
||||||
elif cc_check -lgif ; then
|
_ld_gif="-lgif"
|
||||||
if "$TMPO" >> "$TMPLOG" ; then
|
fi
|
||||||
_gif=yes
|
|
||||||
_ld_gif="-lgif"
|
|
||||||
fi
|
|
||||||
fi
|
|
||||||
fi
|
fi
|
||||||
echores "$_gif"
|
echores "$_gif"
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user