summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorJuan Quintela2009-08-12 18:20:25 +0200
committerAnthony Liguori2009-08-28 02:33:12 +0200
commit249247c9fd962e8155ebcf01c9ab648c886682ae (patch)
treeed24887e1a43d35df3009edde11b90f24bf845d2 /configure
parentAdd feature configure help (diff)
downloadqemu-249247c9fd962e8155ebcf01c9ab648c886682ae.tar.gz
qemu-249247c9fd962e8155ebcf01c9ab648c886682ae.tar.xz
qemu-249247c9fd962e8155ebcf01c9ab648c886682ae.zip
Add error message for feature not found
Signed-off-by: Juan Quintela <quintela@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure10
1 files changed, 10 insertions, 0 deletions
diff --git a/configure b/configure
index 85549d1241..7fec59cb00 100755
--- a/configure
+++ b/configure
@@ -740,6 +740,16 @@ if test -z "$target_list" ; then
exit 1
fi
+feature_not_found() {
+ feature=$1
+
+ echo "ERROR"
+ echo "ERROR: User requested feature $feature"
+ echo "ERROR: configure was not able to found it"
+ echo "ERROR"
+ exit 1;
+}
+
if test -z "$cross_prefix" ; then
# ---