Lines 1-6
Link Here
|
1 |
--- a/configure.ac |
1 |
--- a/configure.ac |
2 |
+++ b/configure.ac |
2 |
+++ b/configure.ac |
3 |
@@ -138,8 +138,8 @@ |
3 |
@@ -138,14 +138,24 @@ |
4 |
if test "${enable_ui}" = "yes"; then |
4 |
if test "${enable_ui}" = "yes"; then |
5 |
AC_DEFINE([ENABLE_UI], [1], [Enable ui]) |
5 |
AC_DEFINE([ENABLE_UI], [1], [Enable ui]) |
6 |
|
6 |
|
Lines 11-23
Link Here
|
11 |
AC_MSG_ERROR([ |
11 |
AC_MSG_ERROR([ |
12 |
The ncurses library was not found, which is needed for ui support. Either install |
12 |
The ncurses library was not found, which is needed for ui support. Either install |
13 |
the ncurses development libraries, or compile without ui support (--disable-ui) |
13 |
the ncurses development libraries, or compile without ui support (--disable-ui) |
14 |
@@ -148,6 +148,9 @@ |
14 |
]) |
|
|
15 |
]) |
15 |
]) |
16 |
]) |
|
|
17 |
+ |
18 |
+ if test "x${ac_cv_lib_ncursesw_touchwin}" = "xyes"; then |
19 |
+ AC_SEARCH_LIBS([tputs], [tinfow],, [ |
20 |
+ AC_MSG_ERROR([No library was found providing tputs]) |
21 |
+ ]) |
22 |
+ else |
23 |
+ AC_SEARCH_LIBS([tputs], [tinfo],, [ |
24 |
+ AC_MSG_ERROR([No library was found providing tputs]) |
25 |
+ ]) |
26 |
+ fi |
16 |
fi |
27 |
fi |
17 |
|
28 |
|
18 |
+AC_SEARCH_LIBS([tputs], [tinfo],, [ |
|
|
19 |
+ AC_MSG_ERROR([No library was found providing tputs]) |
20 |
+]) |
21 |
|
29 |
|
22 |
if test "${enable_x11}" = "yes"; then |
|
|
23 |
test "${enable_cairo}" != "yes" && AC_MSG_ERROR([cairo must be enabled for x11]) |