diff options
author | Juan Quintela <quintela@redhat.com> | 2009-08-03 14:47:02 +0200 |
---|---|---|
committer | Anthony Liguori <aliguori@us.ibm.com> | 2009-08-10 13:05:46 -0500 |
commit | 55d9c04bc3418ae7bd49a8f66a070f0a4c466c69 (patch) | |
tree | 62b29aebb1b4313844ddf266df1fca1192b573ed /configure | |
parent | ed69c30dc680eda6381ca6630fbe1d219ca1cd0d (diff) |
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-x | configure | 11 |
1 files changed, 11 insertions, 0 deletions
@@ -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 |