1
mirror of https://github.com/mpv-player/mpv synced 2024-08-04 14:59:58 +02:00

configure: add an initial check to verify compiler works at all

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@33533 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
iive 2011-05-31 21:15:14 +00:00 committed by Uoti Urpala
parent be4d3d3491
commit b3f911f385

4
configure vendored
View File

@ -1449,6 +1449,10 @@ else
fi # icc
test "$cc_fail" = yes && die "unsupported compiler version"
echocheck "working compiler"
cflag_check "" || die "Compiler is not functioning correctly. Check your installation and custom CFLAGS $CFLAGS ."
echo "yes"
if test -z "$_target" && x86 ; then
cat > $TMPC << EOF
int main(void) {