From 55d9c04bc3418ae7bd49a8f66a070f0a4c466c69 Mon Sep 17 00:00:00 2001 From: Juan Quintela Date: Mon, 3 Aug 2009 14:47:02 +0200 Subject: Consolidate audio flags in configure Signed-off-by: Juan Quintela Signed-off-by: Anthony Liguori Message-Id: --- configure | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'configure') 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 -- cgit v1.2.3