diff options
author | blueswir1 <blueswir1@c046a42c-6fe2-441c-8c8c-71466251a162> | 2009-04-13 16:18:34 +0000 |
---|---|---|
committer | blueswir1 <blueswir1@c046a42c-6fe2-441c-8c8c-71466251a162> | 2009-04-13 16:18:34 +0000 |
commit | 5a8ff3aa6dfdd1f4cb3cebc34504240fbece7852 (patch) | |
tree | 5b8662660827a1b096f182907f56a6f78d8bdbd8 /configure | |
parent | 2dc766dafc7f5416bfdf184b42f0c5c22567bb60 (diff) |
Probe for OpenSolaris curses missing resize_term
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@7100 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -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 |