include headerfiles and set prototype for tgetent

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15418 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Love Hörnquist Åstrand
2005-06-16 17:59:26 +00:00
parent 0d38426bfb
commit e5a8c2615d

View File

@@ -348,7 +348,15 @@ dnl Checks for libraries.
AC_FIND_FUNC_NO_LIBS(logwtmp, util)
AC_FIND_FUNC_NO_LIBS(logout, util)
AC_FIND_FUNC_NO_LIBS(openpty, util)
AC_FIND_FUNC_NO_LIBS(tgetent, termcap ncurses curses)
AC_FIND_FUNC_NO_LIBS(tgetent, termcap ncurses curses,[
#ifdef HAVE_TERMCAP_H
#include <termcap.h>
#endif
#ifdef HAVE_CURSES_H
#include <curses.h>
#endif
],[0,0])
dnl Checks for library functions.