mirror of
https://github.com/izzy2lost/xemu.git
synced 2026-07-06 00:20:22 -07:00
Probe for OpenSolaris curses missing resize_term
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@7100 c046a42c-6fe2-441c-8c8c-71466251a162
This commit is contained in:
@@ -1010,7 +1010,10 @@ if test "$curses" = "yes" ; then
|
||||
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
|
||||
|
||||
Reference in New Issue
Block a user