From 249247c9fd962e8155ebcf01c9ab648c886682ae Mon Sep 17 00:00:00 2001 From: Juan Quintela Date: Wed, 12 Aug 2009 18:20:25 +0200 Subject: Add error message for feature not found Signed-off-by: Juan Quintela Signed-off-by: Anthony Liguori --- configure | 10 ++++++++++ 1 file changed, 10 insertions(+) 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 # --- -- cgit v1.2.3