summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorJuan Quintela2009-08-03 14:47:02 +0200
committerAnthony Liguori2009-08-10 20:05:46 +0200
commit55d9c04bc3418ae7bd49a8f66a070f0a4c466c69 (patch)
tree62b29aebb1b4313844ddf266df1fca1192b573ed /configure
parentremove last 3 uses of :=, everywhere else uses += or = (diff)
downloadqemu-55d9c04bc3418ae7bd49a8f66a070f0a4c466c69.tar.gz
qemu-55d9c04bc3418ae7bd49a8f66a070f0a4c466c69.tar.xz
qemu-55d9c04bc3418ae7bd49a8f66a070f0a4c466c69.zip
Consolidate audio flags 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-xconfigure11
1 files changed, 11 insertions, 0 deletions
diff --git a/configure b/configure
index 19565193e7..0ee2c470d7 100755
--- a/configure
+++ b/configure
@@ -2136,6 +2136,17 @@ ia64)
;;
esac
+if test "$target_softmmu" = "yes" ; then
+ case "$TARGET_BASE_ARCH" in
+ arm)
+ cflags="-DHAS_AUDIO $cflags"
+ ;;
+ i386|mips|ppc)
+ cflags="-DHAS_AUDIO -DHAS_AUDIO_CHOICE $cflags"
+ ;;
+ esac
+fi
+
if test "$target_softmmu" = "yes" -a \( \
"$TARGET_ARCH" = "microblaze" -o \
"$TARGET_ARCH" = "cris" \) ; then