$Log$
+ Revision 590.149 2002/03/12 23:34:37 nbryant
+ use ncurses in preference to curses if it's installed; it handles
+ background colors properly on dtterm, has a larger color pair palette,
+ and has a bigger terminal database than solaris curses
+
Revision 590.148 2002/03/12 22:47:17 nbryant
curses fix: map our normal color pairs into the 0-7 range instead of 1-8,
in order to make our pairs fit on terminals such as dtterm where COLOR_PAIRS=8.
Fri Jul 10 1998 Art Cancro <ajc@uncensored.citadel.org>
* Initial CVS import
-
save_LIBS=$LIBS
LIBS=$CURSES
-AC_SEARCH_LIBS(tgetent, [curses termcap])
-AC_SEARCH_LIBS(initscr, [curses ncurses])
+AC_SEARCH_LIBS(tgetent, [ncurses curses termcap])
+AC_SEARCH_LIBS(initscr, [ncurses curses])
AC_CHECK_FUNCS(vw_printw wcolor_set)
CURSES=$LIBS
LIBS=$save_LIBS
dnl TODO: for the DB header checks, we should check whether the headers
dnl define db_env_create, somehow
dnl
-AC_CHECK_HEADERS(curses.h dl.h fcntl.h limits.h termios.h sys/ioctl.h sys/select.h sys/time.h syslog.h unistd.h utmp.h utmpx.h paths.h db.h db3/db.h db4/db.h)
+AC_CHECK_HEADERS(curses.h ncurses.h dl.h fcntl.h limits.h termios.h sys/ioctl.h sys/select.h sys/time.h syslog.h unistd.h utmp.h utmpx.h paths.h db.h db3/db.h db4/db.h)
AC_CHECK_HEADER(resolv.h, [SMTP=modules/libsmtp.la; DOMAIN=domain.c])
AC_SUBST(SMTP)