aboutsummaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorJuan Quintela <quintela@redhat.com>2009-08-03 14:46:59 +0200
committerAnthony Liguori <aliguori@us.ibm.com>2009-08-10 13:05:45 -0500
commit67f86e8e2ad34e5423477f4621def751ea867e93 (patch)
tree0baa463180a65c124e56770e9b09cba94a98e678 /configure
parent611b0db5ae1c52c37edda32a6af18f26e49cb17d (diff)
Generate CONFIG_AUDIO_PT_INT in configure
Signed-off-by: Juan Quintela <quintela@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com> Message-Id:
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure6
1 files changed, 6 insertions, 0 deletions
diff --git a/configure b/configure
index 202339b3c6..19565193e7 100755
--- a/configure
+++ b/configure
@@ -46,6 +46,7 @@ objcopy="objcopy"
ld="ld"
helper_cflags=""
libs_softmmu=""
+audio_pt_int=""
# parse CC options first
for opt do
@@ -1011,12 +1012,14 @@ for drv in $audio_drv_list; do
esd)
audio_drv_probe $drv esd.h -lesd 'return esd_play_stream(0, 0, "", 0);'
libs_softmmu="-lesd $libs_softmmu"
+ audio_pt_int="yes"
;;
pa)
audio_drv_probe $drv pulse/simple.h -lpulse-simple \
"pa_simple *s = NULL; pa_simple_free(s); return 0;"
libs_softmmu="-lpulse-simple $libs_softmmu"
+ audio_pt_int="yes"
;;
coreaudio)
@@ -1622,6 +1625,9 @@ for drv in $audio_drv_list; do
echo "FMOD_CFLAGS=-I$fmod_inc" >> $config_host_mak
fi
done
+if test "$audio_pt_int" = "yes" ; then
+ echo "CONFIG_AUDIO_PT_INT=y" >> $config_host_mak
+fi
if test "$mixemu" = "yes" ; then
echo "CONFIG_MIXEMU=y" >> $config_host_mak
fi