qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH] configure: don't try to compile against known broken curses.
@ 2011-12-07  7:47 Andrzej Zaborowski
  2011-12-07  7:47 ` [Qemu-devel] [PATCH 1/2] configure: don't check for Cocoa when detecting SDL Andrzej Zaborowski
                   ` (2 more replies)
  0 siblings, 3 replies; 15+ messages in thread
From: Andrzej Zaborowski @ 2011-12-07  7:47 UTC (permalink / raw)
  To: qemu-devel

This should resolve a problem noted by Caraman Mihai Claudiu.

Signed-off-by: Andrzej Zaborowski <andrew.zaborowski@intel.com>
---
 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
-- 
1.7.4.4

^ permalink raw reply related	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2011-12-14 21:58 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-12-07  7:47 [Qemu-devel] [PATCH] configure: don't try to compile against known broken curses Andrzej Zaborowski
2011-12-07  7:47 ` [Qemu-devel] [PATCH 1/2] configure: don't check for Cocoa when detecting SDL Andrzej Zaborowski
2011-12-07 21:26   ` Andreas Färber
2011-12-07  7:47 ` [Qemu-devel] [PATCH 2/2] configure: remove --enable-cocoa (default), add --disable-cocoa Andrzej Zaborowski
2011-12-07 18:56   ` Peter Maydell
2011-12-08  0:49     ` andrzej zaborowski
2011-12-07 21:12   ` Andreas Färber
2011-12-07 21:21     ` Peter Maydell
2011-12-08 23:35       ` Andreas Färber
2011-12-09  1:25     ` andrzej zaborowski
2011-12-09  1:41       ` andrzej zaborowski
2011-12-07 18:57 ` [Qemu-devel] [PATCH] configure: don't try to compile against known broken curses Stefan Weil
2011-12-07 19:06   ` andrzej zaborowski
2011-12-07 19:51     ` Stefan Weil
2011-12-14 21:58     ` andrzej zaborowski

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).