Lines 1203-1215
Link Here
|
1203 |
fi |
1203 |
fi |
1204 |
|
1204 |
|
1205 |
AC_CHECK_HEADERS(ncurses.h) |
1205 |
AC_CHECK_HEADERS(ncurses.h) |
1206 |
AC_CHECK_LIB(ncurses, curs_set, [NCURSES_LIBS="-lncurses"]) |
|
|
1207 |
have_ncurses=no |
1206 |
have_ncurses=no |
1208 |
if test x$NCURSES_LIBS = x-lncurses; then |
1207 |
AC_CHECK_LIB(ncurses, endwin, |
1209 |
AC_DEFINE(HAVE_NCURSES, 1, [Defined to 1 if libncurses was found]) |
1208 |
[NCURSES_LIBS="-lncurses"; have_ncurses=yes] |
1210 |
have_ncurses=yes |
1209 |
AC_SEARCH_LIBS(curs_set, tinfo, [NCURSES_LIBS="$NCURSES_LIBS $ac_res"]), |
1211 |
fi |
1210 |
AC_DEFINE(HAVE_NCURSES, 1, [Defined to 1 if libncurses was found]) |
1212 |
AC_SUBST(NCURSES_LIBS) |
1211 |
AC_SUBST(NCURSES_LIBS)) |
1213 |
|
1212 |
|
1214 |
dnl |
1213 |
dnl |
1215 |
dnl Check if we have AFS on this system |
1214 |
dnl Check if we have AFS on this system |