* [Qemu-devel] [7100] Probe for OpenSolaris curses missing resize_term
@ 2009-04-13 16:18 Blue Swirl
0 siblings, 0 replies; only message in thread
From: Blue Swirl @ 2009-04-13 16:18 UTC (permalink / raw)
To: qemu-devel
Revision: 7100
http://svn.sv.gnu.org/viewvc/?view=rev&root=qemu&revision=7100
Author: blueswir1
Date: 2009-04-13 16:18:34 +0000 (Mon, 13 Apr 2009)
Log Message:
-----------
Probe for OpenSolaris curses missing resize_term
Modified Paths:
--------------
trunk/configure
Modified: trunk/configure
===================================================================
--- trunk/configure 2009-04-13 16:06:19 UTC (rev 7099)
+++ trunk/configure 2009-04-13 16:18:34 UTC (rev 7100)
@@ -1010,7 +1010,10 @@
curses=no
cat > $TMPC << EOF
#include <curses.h>
-int main(void) { return curses_version(); }
+#ifdef __OpenBSD__
+#define resize_term resizeterm
+#endif
+int main(void) { resize_term(0, 0); return curses_version(); }
EOF
if $cc $ARCH_CFLAGS -o $TMPE $TMPC -lcurses > /dev/null 2> /dev/null ; then
curses=yes
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2009-04-13 16:18 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-04-13 16:18 [Qemu-devel] [7100] Probe for OpenSolaris curses missing resize_term Blue Swirl
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).