From patchwork Sun Nov 26 21:13:57 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Brad Smith X-Patchwork-Id: 10075547 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id B9E1360353 for ; Sun, 26 Nov 2017 21:15:09 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id A9C3E28AF0 for ; Sun, 26 Nov 2017 21:15:09 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 9AF1A28AF3; Sun, 26 Nov 2017 21:15:09 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.8 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI,T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from lists.gnu.org (lists.gnu.org [208.118.235.17]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 7454528AF0 for ; Sun, 26 Nov 2017 21:15:04 +0000 (UTC) Received: from localhost ([::1]:58049 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eJ4GV-0005yN-9X for patchwork-qemu-devel@patchwork.kernel.org; Sun, 26 Nov 2017 16:15:03 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:48805) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eJ4Fm-0005yF-O0 for qemu-devel@nongnu.org; Sun, 26 Nov 2017 16:14:23 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eJ4Fi-0001bj-8W for qemu-devel@nongnu.org; Sun, 26 Nov 2017 16:14:18 -0500 Received: from speedy.comstyle.com ([2001:470:1d:8c::2]:22335 helo=mail.comstyle.com) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1eJ4Fi-0001Xq-21 for qemu-devel@nongnu.org; Sun, 26 Nov 2017 16:14:14 -0500 Received: from mail.comstyle.com (localhost [127.0.0.1]) by mail.comstyle.com (Postfix) with ESMTP id DD09F9843A for ; Sun, 26 Nov 2017 16:13:58 -0500 (EST) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=comstyle.com; h=date:from :to:subject:message-id:mime-version:content-type; s=selector1; bh=RrVNY6EUsik7wOMx0i6t806Dna0=; b=GKNo5n1xtbbcZ+hkoIntRtcRvLON b5rXt7DFpYv4qXI0ClhjaZlgzzuNkp1xssJ/OjbwqDpDr24+LEIDOu5N9KZFl7Ml /CUFRqrNzA+bVpYrZqpAk2iR6gtwImCg+FsVtNBC2/yjCeOnvRBzdyjuPM3Nzb48 WkGncfs0gFN9nac= DomainKey-Signature: a=rsa-sha1; c=nofws; d=comstyle.com; h=date:from:to :subject:message-id:mime-version:content-type; q=dns; s= selector1; b=euPc3Xy1nM2UH/yxnevWGk+S2bnA+B4cOdNIMqUcpCwEk4Iwnjm PwxU0Ri2v0u8tnoFm9+ej5WpxRv/fAXwMi7t6xyuRkbVVYLepWIn5P3cYpfHzmL8 c/dIlabNKRJN5gIYxKs2mXS+8ploharvVN4wGgziQdkD7BVgHjjQqSYI= Received: from humpty.home.comstyle.com (unknown [IPv6:2607:fea8:12c0:f00:90cf:984e:6c25:8021]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: brad) by mail.comstyle.com (Postfix) with ESMTPSA id A6E0F98439 for ; Sun, 26 Nov 2017 16:13:58 -0500 (EST) Date: Sun, 26 Nov 2017 16:13:57 -0500 From: Brad Smith To: qemu-devel@nongnu.org Message-ID: <20171126211356.GA46174@humpty.home.comstyle.com> MIME-Version: 1.0 Content-Disposition: inline User-Agent: Mutt/1.9.1 (2017-09-22) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2001:470:1d:8c::2 Subject: [Qemu-devel] [PATCH] configure: Fix curses probe for older ncurses X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+patchwork-qemu-devel=patchwork.kernel.org@nongnu.org Sender: "Qemu-devel" X-Virus-Scanned: ClamAV using ClamSMTP Fix the curses probe with older ncurses (.e.g. 5.7, as used by OpenBSD). ncurses 5.7 requires _XOPEN_SOURCE_EXTENDED to be defined for WACS_* constants. Signed-off-by: Brad Smith diff --git a/configure b/configure index 0c6e7572db..9715b9c2cc 100755 --- a/configure +++ b/configure @@ -3186,7 +3186,7 @@ EOF IFS=: for curses_inc in $curses_inc_list; do # Make sure we get the wide character prototypes - curses_inc="-DNCURSES_WIDECHAR $curses_inc" + curses_inc="-DNCURSES_WIDECHAR -D_XOPEN_SOURCE_EXTENDED $curses_inc" IFS=: for curses_lib in $curses_lib_list; do unset IFS