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:
reimar 2008-07-17 17:11:30 +00:00
parent 4cbefcd4f1
commit 6dfb85dc9e
4 changed files with 7 additions and 0 deletions

4
configure vendored
View File

@ -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

View File

@ -19,6 +19,7 @@
#include <ctype.h>
#include <math.h>
#include <string.h>
#include <alloca.h>
#include "config.h"
#include "subopt-helper.h"

View File

@ -1,6 +1,7 @@
#include <stdio.h>
#include <stdlib.h>
#include <sys/time.h>
#include <alloca.h>
#include "config.h"

View File

@ -1,6 +1,7 @@
#include <stdio.h>
#include <stdlib.h>
#include <sys/time.h>
#include <alloca.h>
#include "config.h"