comparison configure @ 32187:15f9f2bb7bb7

Remove pointless sys/ioctl.h #includes from OSS audio checks.
author diego
date Thu, 16 Sep 2010 14:52:27 +0000
parents f1aae2e20e2c
children bba9058031a0
comparison
equal deleted inserted replaced
32186:f1aae2e20e2c 32187:15f9f2bb7bb7
5481 5481
5482 5482
5483 echocheck "OSS Audio" 5483 echocheck "OSS Audio"
5484 if test "$_ossaudio" = auto ; then 5484 if test "$_ossaudio" = auto ; then
5485 cat > $TMPC << EOF 5485 cat > $TMPC << EOF
5486 #include <sys/ioctl.h>
5487 #include <$_soundcard_header> 5486 #include <$_soundcard_header>
5488 int main(void) { int arg = SNDCTL_DSP_SETFRAGMENT; return 0; } 5487 int main(void) { int arg = SNDCTL_DSP_SETFRAGMENT; return 0; }
5489 EOF 5488 EOF
5490 _ossaudio=no 5489 _ossaudio=no
5491 cc_check && _ossaudio=yes 5490 cc_check && _ossaudio=yes
5492 fi 5491 fi
5493 if test "$_ossaudio" = yes ; then 5492 if test "$_ossaudio" = yes ; then
5494 def_ossaudio='#define CONFIG_OSS_AUDIO 1' 5493 def_ossaudio='#define CONFIG_OSS_AUDIO 1'
5495 aomodules="oss $aomodules" 5494 aomodules="oss $aomodules"
5496 cat > $TMPC << EOF 5495 cat > $TMPC << EOF
5497 #include <sys/ioctl.h>
5498 #include <$_soundcard_header> 5496 #include <$_soundcard_header>
5499 #ifdef OPEN_SOUND_SYSTEM 5497 #ifdef OPEN_SOUND_SYSTEM
5500 int main(void) { return 0; } 5498 int main(void) { return 0; }
5501 #else 5499 #else
5502 #error Not the real thing 5500 #error Not the real thing