mirror of
https://github.com/mpv-player/mpv
synced 2024-12-23 15:22:09 +00:00
Our ALSA code needs alloca, so check for it in configure and include alloca.h
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27313 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
4cbefcd4f1
commit
6dfb85dc9e
4
configure
vendored
4
configure
vendored
@ -5205,6 +5205,10 @@ fi
|
||||
echores "$_openal"
|
||||
|
||||
echocheck "ALSA audio"
|
||||
if test "$_alloca" != yes ; then
|
||||
_alsa=no
|
||||
_res_comment="alloca missing"
|
||||
fi
|
||||
if test "$_alsa" != no ; then
|
||||
_alsa=no
|
||||
cat > $TMPC << EOF
|
||||
|
@ -19,6 +19,7 @@
|
||||
#include <ctype.h>
|
||||
#include <math.h>
|
||||
#include <string.h>
|
||||
#include <alloca.h>
|
||||
|
||||
#include "config.h"
|
||||
#include "subopt-helper.h"
|
||||
|
@ -1,6 +1,7 @@
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <sys/time.h>
|
||||
#include <alloca.h>
|
||||
|
||||
#include "config.h"
|
||||
|
||||
|
@ -1,6 +1,7 @@
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <sys/time.h>
|
||||
#include <alloca.h>
|
||||
|
||||
#include "config.h"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user