mirror of
https://github.com/tmux/tmux.git
synced 2025-09-03 06:17:04 +00:00
Update imsg*.[ch] from OpenBSD, add some compat bits it needs and remove some
bits it doesn't.
This commit is contained in:
20
configure.ac
20
configure.ac
@ -102,9 +102,12 @@ AC_REPLACE_FUNCS([ \
|
||||
asprintf \
|
||||
cfmakeraw \
|
||||
closefrom \
|
||||
explicit_bzero \
|
||||
fgetln \
|
||||
fparseln \
|
||||
getdtablecount \
|
||||
getprogname \
|
||||
recallocarray \
|
||||
reallocarray \
|
||||
setenv \
|
||||
setproctitle \
|
||||
@ -457,23 +460,6 @@ if test "x$found_forkpty" = xyes; then
|
||||
fi
|
||||
AM_CONDITIONAL(NEED_FORKPTY, test "x$found_forkpty" = xno)
|
||||
|
||||
# Check for BSD-style integer types.
|
||||
AC_MSG_CHECKING(for BSD-style unsigned types)
|
||||
AC_COMPILE_IFELSE([AC_LANG_SOURCE(
|
||||
[
|
||||
#include <sys/types.h>
|
||||
#ifdef HAVE_STDINT_H
|
||||
#include <stdint.h>
|
||||
#else
|
||||
#include <inttypes.h>
|
||||
#endif
|
||||
int main(void)
|
||||
{ u_int8_t u8; u_int16_t u16; u_int32_t u32; u_int64_t u64; }
|
||||
])],
|
||||
[AC_DEFINE(HAVE_BSD_TYPES) AC_MSG_RESULT(yes)],
|
||||
AC_MSG_RESULT(no)
|
||||
)
|
||||
|
||||
# Look for a suitable queue.h.
|
||||
AC_CHECK_DECL(
|
||||
TAILQ_CONCAT,
|
||||
|
Reference in New Issue
Block a user