Use ncurses' new tparm_s function (added in 6.4-20230424) instead of tparm so

it does not object to string arguments in capabilities it doesn't already know.
This commit is contained in:
Nicholas Marriott
2023-04-28 06:44:40 +01:00
parent 9d8131c190
commit 39d41d0810
2 changed files with 43 additions and 9 deletions

View File

@ -350,6 +350,10 @@ else
AC_MSG_ERROR("curses not found")
fi
fi
AC_CHECK_FUNCS([ \
tiparm \
tiparm_s \
])
# Look for utempter.
AC_ARG_ENABLE(