]> code.citadel.org Git - citadel.git/blobdiff - citadel/configure.ac
* Full-screen curses support for Citadel text client
[citadel.git] / citadel / configure.ac
index 59326f42754387b8b24a919c4b6d03297cf31b9f..ec7f25b0111adc86946f26ac143a8c7617182121 100644 (file)
@@ -224,6 +224,8 @@ AC_SEARCH_LIBS(tgetent, [curses termcap])
 AC_SEARCH_LIBS(initscr, [curses ncurses])
 CURSES=$LIBS
 LIBS=$save_LIBS
+SCURS=`echo $CURSES | sed -e s/-l//`
+AC_CHECK_LIB($SCURS, vw_printw, AC_DEFINE(VW_PRINTW_IN_CURSES))
 
 dnl Check for libpthread(s) if we're not using Digital UNIX or FreeBSD. (On
 dnl which the -pthread flag takes care of this.)