summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorJuan Quintela <quintela@redhat.com>2009-08-03 14:47:02 +0200
committerAnthony Liguori <aliguori@us.ibm.com>2009-08-10 13:05:46 -0500
commit55d9c04bc3418ae7bd49a8f66a070f0a4c466c69 (patch)
tree62b29aebb1b4313844ddf266df1fca1192b573ed /configure
parented69c30dc680eda6381ca6630fbe1d219ca1cd0d (diff)
downloadhqemu-55d9c04bc3418ae7bd49a8f66a070f0a4c466c69.zip
hqemu-55d9c04bc3418ae7bd49a8f66a070f0a4c466c69.tar.gz
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 1956519..0ee2c47 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
OpenPOWER on IntegriCloud