mirror of
https://github.com/tmux/tmux.git
synced 2024-11-16 17:39:09 +00:00
Need to check libutil for fparseln.
This commit is contained in:
parent
3df4e78492
commit
3888bf9d12
@ -104,7 +104,6 @@ AC_REPLACE_FUNCS([ \
|
|||||||
closefrom \
|
closefrom \
|
||||||
explicit_bzero \
|
explicit_bzero \
|
||||||
fgetln \
|
fgetln \
|
||||||
fparseln \
|
|
||||||
freezero \
|
freezero \
|
||||||
getdtablecount \
|
getdtablecount \
|
||||||
getprogname \
|
getprogname \
|
||||||
@ -454,6 +453,14 @@ else
|
|||||||
AC_LIBOBJ(getopt)
|
AC_LIBOBJ(getopt)
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# Look for fparseln in libutil.
|
||||||
|
AC_SEARCH_LIBS(fparseln, util, found_fparseln=yes, found_fparseln=no)
|
||||||
|
if test "x$found_fparseln" = xyes; then
|
||||||
|
AC_DEFINE(HAVE_FPARSELN)
|
||||||
|
else
|
||||||
|
AC_LIBOBJ(fparseln)
|
||||||
|
fi
|
||||||
|
|
||||||
# Look for fdforkpty and forkpty in libutil.
|
# Look for fdforkpty and forkpty in libutil.
|
||||||
AC_SEARCH_LIBS(fdforkpty, util, found_fdforkpty=yes, found_fdforkpty=no)
|
AC_SEARCH_LIBS(fdforkpty, util, found_fdforkpty=yes, found_fdforkpty=no)
|
||||||
if test "x$found_fdforkpty" = xyes; then
|
if test "x$found_fdforkpty" = xyes; then
|
||||||
|
Loading…
Reference in New Issue
Block a user