|
@@ -504,7 +504,7 @@ else
|
|
|
fi
|
|
fi
|
|
|
fi
|
|
fi
|
|
|
if test "x$curses" != "xyes"; then
|
|
if test "x$curses" != "xyes"; then
|
|
|
- for sym in addwstr addstr; do
|
|
|
|
|
|
|
+ sym=addstr
|
|
|
AC_SEARCH_LIBS(${sym}, ${preferl}, [
|
|
AC_SEARCH_LIBS(${sym}, ${preferl}, [
|
|
|
curses=yes
|
|
curses=yes
|
|
|
eval "curseslib=\"\${ac_cv_search_${sym}}\""
|
|
eval "curseslib=\"\${ac_cv_search_${sym}}\""
|
|
@@ -528,8 +528,6 @@ else
|
|
|
|
|
|
|
|
break
|
|
break
|
|
|
], [
|
|
], [
|
|
|
- test "x$sym" != "addstr" && continue
|
|
|
|
|
-
|
|
|
|
|
if test "x$curses" = "xyes"; then
|
|
if test "x$curses" = "xyes"; then
|
|
|
AC_MSG_ERROR([Could not find curses library - please install libncurses-dev or pdcurses-dev (or configure --without-curses)])
|
|
AC_MSG_ERROR([Could not find curses library - please install libncurses-dev or pdcurses-dev (or configure --without-curses)])
|
|
|
else
|
|
else
|
|
@@ -538,7 +536,6 @@ else
|
|
|
cursesmsg='NOT FOUND. TUI support DISABLED'
|
|
cursesmsg='NOT FOUND. TUI support DISABLED'
|
|
|
fi
|
|
fi
|
|
|
])
|
|
])
|
|
|
- done
|
|
|
|
|
fi
|
|
fi
|
|
|
if test "x$curses" = "xyes"; then
|
|
if test "x$curses" = "xyes"; then
|
|
|
AC_DEFINE([HAVE_CURSES], [1], [Defined to 1 if curses TUI support is wanted])
|
|
AC_DEFINE([HAVE_CURSES], [1], [Defined to 1 if curses TUI support is wanted])
|