mirror of
https://github.com/mpv-player/mpv
synced 2024-10-22 08:51:57 +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:
parent
be4d3d3491
commit
b3f911f385
4
configure
vendored
4
configure
vendored
@ -1449,6 +1449,10 @@ else
|
|||||||
fi # icc
|
fi # icc
|
||||||
test "$cc_fail" = yes && die "unsupported compiler version"
|
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
|
if test -z "$_target" && x86 ; then
|
||||||
cat > $TMPC << EOF
|
cat > $TMPC << EOF
|
||||||
int main(void) {
|
int main(void) {
|
||||||
|
Loading…
Reference in New Issue
Block a user