Line
Link Here
|
0 |
-- a/configure.ac |
0 |
++ b/configure.ac |
Lines 138-151
Link Here
|
138 |
if test "${enable_ui}" = "yes"; then |
138 |
if test "${enable_ui}" = "yes"; then |
139 |
AC_DEFINE([ENABLE_UI], [1], [Enable ui]) |
139 |
AC_DEFINE([ENABLE_UI], [1], [Enable ui]) |
140 |
|
140 |
|
141 |
AC_CHECK_LIB([ncursesw], [tputs],, [ |
141 |
AC_CHECK_LIB([ncursesw], [touchwin],, [ |
142 |
AC_CHECK_LIB([ncurses], [tputs],, [ |
142 |
AC_CHECK_LIB([ncurses], [touchwin],, [ |
143 |
AC_MSG_ERROR([ |
143 |
AC_MSG_ERROR([ |
144 |
The ncurses library was not found, which is needed for ui support. Either install |
144 |
The ncurses library was not found, which is needed for ui support. Either install |
145 |
the ncurses development libraries, or compile without ui support (--disable-ui) |
145 |
the ncurses development libraries, or compile without ui support (--disable-ui) |
146 |
]) |
146 |
]) |
147 |
]) |
147 |
]) |
148 |
]) |
148 |
]) |
|
|
149 |
|
150 |
if test "x${ac_cv_lib_ncursesw_touchwin}" = "xyes"; then |
151 |
AC_SEARCH_LIBS([tputs], [tinfow],, [ |
152 |
AC_MSG_ERROR([No library was found providing tputs]) |
153 |
]) |
154 |
else |
155 |
AC_SEARCH_LIBS([tputs], [tinfo],, [ |
156 |
AC_MSG_ERROR([No library was found providing tputs]) |
157 |
]) |
158 |
fi |
149 |
fi |
159 |
fi |
150 |
|
160 |
|
151 |
|
161 |
|