mirror of
https://github.com/tmux/tmux.git
synced 2025-01-12 03:08:46 +00:00
Look for utempter_add_record to be sure we have the new utempter API, the old
utempter API was also using utempter.h.
This commit is contained in:
parent
b429a00cce
commit
5658b628b9
15
configure.ac
15
configure.ac
@ -167,10 +167,17 @@ if test "x$found_curses" = xno; then
|
||||
fi
|
||||
|
||||
# Look for utempter.
|
||||
AC_CHECK_HEADER(utempter.h, have_utempter=yes, have_utempter=no)
|
||||
if test "x$have_utempter" = xyes; then
|
||||
AC_DEFINE(HAVE_UTEMPTER)
|
||||
LIBS="$LIBS -lutempter"
|
||||
AC_CHECK_HEADER(utempter.h, found_utempter=yes, found_utempter=no)
|
||||
if test "x$found_utempter" = xyes; then
|
||||
AC_SEARCH_LIBS(
|
||||
utempter_add_record,
|
||||
utempter,
|
||||
found_utempter=yes,
|
||||
found_utempter=no
|
||||
)
|
||||
if test "x$found_utempter" = xyes; then
|
||||
AC_DEFINE(HAVE_UTEMPTER)
|
||||
fi
|
||||
fi
|
||||
|
||||
# Check for b64_ntop.
|
||||
|
Loading…
Reference in New Issue
Block a user