From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MbGbG-000441-51 for qemu-devel@nongnu.org; Wed, 12 Aug 2009 12:22:54 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MbGbA-0003w2-J1 for qemu-devel@nongnu.org; Wed, 12 Aug 2009 12:22:53 -0400 Received: from [199.232.76.173] (port=34670 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MbGbA-0003ve-0u for qemu-devel@nongnu.org; Wed, 12 Aug 2009 12:22:48 -0400 Received: from mx2.redhat.com ([66.187.237.31]:44180) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MbGb8-0002XJ-3g for qemu-devel@nongnu.org; Wed, 12 Aug 2009 12:22:46 -0400 Received: from int-mx2.corp.redhat.com (int-mx2.corp.redhat.com [172.16.27.26]) by mx2.redhat.com (8.13.8/8.13.8) with ESMTP id n7CGMjgA014749 for ; Wed, 12 Aug 2009 12:22:45 -0400 From: Juan Quintela Date: Wed, 12 Aug 2009 18:20:25 +0200 Message-Id: In-Reply-To: References: In-Reply-To: References: Subject: [Qemu-devel] [PATCH 04/20] Add error message for feature not found List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Signed-off-by: Juan Quintela --- configure | 10 ++++++++++ 1 files changed, 10 insertions(+), 0 deletions(-) diff --git a/configure b/configure index cda8213..1a12c43 100755 --- a/configure +++ b/configure @@ -766,6 +766,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 # --- -- 1.6.2.5