From patchwork Wed Dec 7 07:47:26 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: andrzej zaborowski X-Patchwork-Id: 130012 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.gnu.org (lists.gnu.org [140.186.70.17]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTPS id B299E1007D1 for ; Thu, 8 Dec 2011 05:46:50 +1100 (EST) Received: from localhost ([::1]:55642 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RYMW0-0000h5-2L for incoming@patchwork.ozlabs.org; Wed, 07 Dec 2011 13:46:48 -0500 Received: from eggs.gnu.org ([140.186.70.92]:36304) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RYMVt-0000h0-EV for qemu-devel@nongnu.org; Wed, 07 Dec 2011 13:46:43 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RYMVs-00030Y-1L for qemu-devel@nongnu.org; Wed, 07 Dec 2011 13:46:41 -0500 Received: from mail-bw0-f45.google.com ([209.85.214.45]:55852) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RYMVr-00030T-Sf for qemu-devel@nongnu.org; Wed, 07 Dec 2011 13:46:40 -0500 Received: by bkaq10 with SMTP id q10so915135bka.4 for ; Wed, 07 Dec 2011 10:46:39 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=from:to:cc:subject:date:message-id:x-mailer; bh=uHRkqV2suhW/8Q6IfxqcqQhijaWCIjWtgrAUqH4/RqU=; b=QRyv3r/VPAPdXcjw7nZGReScxCIL8QH8//w+QbmhwnF+9h4w3Hta3YaeD5RIjVJbK2 DR/2o4r80bFWOdUT2fb5P7EmTCd7mzKubYIhtegLsgnRonnu1oiEDJ3gBRp5YFnId6Lm 2Kd3R3yP7XRfXbnw5Xsg425pthjGgG6h/Gh6U= Received: by 10.180.14.129 with SMTP id p1mr25805755wic.8.1323283598216; Wed, 07 Dec 2011 10:46:38 -0800 (PST) Received: from azaborow-mobl.ger.corp.intel.com (80.224.73.197.static.user.ono.com. [80.224.73.197]) by mx.google.com with ESMTPS id d17sm4394190wbh.19.2011.12.07.10.46.35 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 07 Dec 2011 10:46:37 -0800 (PST) Received: by azaborow-mobl.ger.corp.intel.com (sSMTP sendmail emulation); Wed, 07 Dec 2011 08:47:28 +0100 From: Andrzej Zaborowski To: qemu-devel@nongnu.org Date: Wed, 7 Dec 2011 08:47:26 +0100 Message-Id: <1323244048-6021-1-git-send-email-balrogg@gmail.com> X-Mailer: git-send-email 1.7.1.86.g0e460.dirty X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 209.85.214.45 Subject: [Qemu-devel] [PATCH] configure: don't try to compile against known broken curses. X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org This should resolve a problem noted by Caraman Mihai Claudiu. Signed-off-by: Andrzej Zaborowski Reviewed-by: Stefan Weil --- configure | 5 +++++ 1 files changed, 5 insertions(+), 0 deletions(-) diff --git a/configure b/configure index 61c43b9..678b982 100755 --- a/configure +++ b/configure @@ -1846,6 +1846,11 @@ if test "$curses" != "no" ; then #ifdef __OpenBSD__ #define resize_term resizeterm #endif +#ifdef NCURSES_VERSION +# if NCURSES_VERSION_PATCH < 20040117 +# error Old ncurses contain dangerous typedefs, break qemu build (and are old) +# endif +#endif int main(void) { resize_term(0, 0); return curses_version(); } EOF for curses_lib in $curses_list; do