projects
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
889bec6
)
Reject invalid audio drivers
author
malc
<malc@c046a42c-6fe2-441c-8c8c-71466251a162>
Sat, 19 Jul 2008 16:15:16 +0000
(16:15 +0000)
committer
malc
<malc@c046a42c-6fe2-441c-8c8c-71466251a162>
Sat, 19 Jul 2008 16:15:16 +0000
(16:15 +0000)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4906
c046a42c
-6fe2-441c-8c8c-
71466251a162
configure
patch
|
blob
|
history
diff --git
a/configure
b/configure
index f9707cdc70b1417347dd61048ead3287b7ca40ab..535aa24628274ccb3e7306d7840fb2b3962f5434 100755
(executable)
--- a/
configure
+++ b/
configure
@@
-795,6
+795,16
@@
for drv in $audio_drv_list; do
"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