Line
Link Here
|
0 |
-- a/configure.ac |
0 |
++ b/configure.ac |
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"]) |
1206 |
AC_CHECK_LIB(ncurses, endwin, |
1207 |
have_ncurses=no |
1207 |
[NCURSES_LIBS="-lncurses"] |
1208 |
if test x$NCURSES_LIBS = x-lncurses; then |
1208 |
AC_SEARCH_LIBS(curs_set, tinfo, [NCURSES_LIBS="$NCURSES_LIBS $ac_res"]), |
1209 |
AC_DEFINE(HAVE_NCURSES, 1, [Defined to 1 if libncurses was found]) |
1209 |
AC_DEFINE(HAVE_NCURSES, 1, [Defined to 1 if libncurses was found]) |
1210 |
have_ncurses=yes |
1210 |
AC_SUBST(NCURSES_LIBS)) |
1211 |
fi |
|
|
1212 |
AC_SUBST(NCURSES_LIBS) |
1213 |
|
1211 |
|
1214 |
dnl |
1212 |
dnl |
1215 |
dnl Check if we have AFS on this system |
1213 |
dnl Check if we have AFS on this system |