qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [4906] Reject invalid audio drivers
@ 2008-07-19 16:15 malc
  0 siblings, 0 replies; only message in thread
From: malc @ 2008-07-19 16:15 UTC (permalink / raw)
  To: qemu-devel

Revision: 4906
          http://svn.sv.gnu.org/viewvc/?view=rev&root=qemu&revision=4906
Author:   malc
Date:     2008-07-19 16:15:16 +0000 (Sat, 19 Jul 2008)

Log Message:
-----------
Reject invalid audio drivers

Modified Paths:
--------------
    trunk/configure

Modified: trunk/configure
===================================================================
--- trunk/configure	2008-07-19 14:16:20 UTC (rev 4905)
+++ trunk/configure	2008-07-19 16:15:16 UTC (rev 4906)
@@ -795,6 +795,16 @@
         "pa_simple *s = NULL; pa_simple_free(s); return 0;"
     ;;
 
+    *)
+    echo "$audio_possible_drivers" | grep -q "$drv" || {
+        echo
+        echo "Error: Unknown driver '$drv' selected"
+        echo "Possible drivers are: $audio_possible_drivers"
+        echo
+        exit 1
+    }
+    ;;
+
     esac
 done
 

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2008-07-19 16:15 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-07-19 16:15 [Qemu-devel] [4906] Reject invalid audio drivers malc

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).