Line
Link Here
|
0 |
-- a/configure.ac |
0 |
++ b/configure.ac |
Lines 334-347
Link Here
|
334 |
dnl tgetent, tputs and UP [sic] are all required. They come from libtinfo |
334 |
dnl tgetent, tputs and UP [sic] are all required. They come from libtinfo |
335 |
dnl which is pulled in as a dependency of libncurses. |
335 |
dnl which is pulled in as a dependency of libncurses. |
336 |
old_LIBS="$LIBS" |
336 |
old_LIBS="$LIBS" |
337 |
AC_CHECK_LIB([ncurses], [tgetent], [], [ |
337 |
AC_SEARCH_LIBS(tgetent, tinfo ncurses, [], [ |
338 |
AC_MSG_ERROR(['ncurses' library not found, or it doesn't contain 'tgetent']) |
338 |
AC_MSG_ERROR([no library found that contains 'tgetent']) |
339 |
]) |
339 |
]) |
340 |
AC_CHECK_LIB([ncurses], [tputs], [], [ |
340 |
AC_SEARCH_LIBS(tputs, tinfo ncurses, [], [ |
341 |
AC_MSG_ERROR(['ncurses' library not found, or it doesn't contain 'tputs']) |
341 |
AC_MSG_ERROR([no library found that contains 'tputs']) |
342 |
]) |
342 |
]) |
343 |
AC_CHECK_LIB([ncurses], [UP], [], [ |
343 |
AC_SEARCH_LIBS(UP, tinfo ncurses, [], [ |
344 |
AC_MSG_ERROR(['ncurses' library not found, or it doesn't contain 'UP']) |
344 |
AC_MSG_ERROR([no library found that contains 'UP']) |
345 |
]) |
345 |
]) |
346 |
LIBS="$old_LIBS" |
346 |
LIBS="$old_LIBS" |
347 |
|
347 |
|