Commit 5a8ff3aa6dfdd1f4cb3cebc34504240fbece7852
1 parent
2dc766da
Probe for OpenSolaris curses missing resize_term
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@7100 c046a42c-6fe2-441c-8c8c-71466251a162
Showing
1 changed file
with
4 additions
and
1 deletions
configure
... | ... | @@ -1010,7 +1010,10 @@ if test "$curses" = "yes" ; then |
1010 | 1010 | curses=no |
1011 | 1011 | cat > $TMPC << EOF |
1012 | 1012 | #include <curses.h> |
1013 | -int main(void) { return curses_version(); } | |
1013 | +#ifdef __OpenBSD__ | |
1014 | +#define resize_term resizeterm | |
1015 | +#endif | |
1016 | +int main(void) { resize_term(0, 0); return curses_version(); } | |
1014 | 1017 | EOF |
1015 | 1018 | if $cc $ARCH_CFLAGS -o $TMPE $TMPC -lcurses > /dev/null 2> /dev/null ; then |
1016 | 1019 | curses=yes | ... | ... |